tmp
This commit is contained in:
parent
86e0dcd50d
commit
6569b9a1b9
@ -28,14 +28,15 @@
|
|||||||
#ifndef _GCTL_ARRAY_H
|
#ifndef _GCTL_ARRAY_H
|
||||||
#define _GCTL_ARRAY_H
|
#define _GCTL_ARRAY_H
|
||||||
|
|
||||||
|
#include <random>
|
||||||
|
#include <chrono>
|
||||||
|
|
||||||
// library's head files
|
// library's head files
|
||||||
#include "../gctl_config.h"
|
#include "../gctl_config.h"
|
||||||
#include "enum.h"
|
#include "enum.h"
|
||||||
#include "macro.h"
|
#include "macro.h"
|
||||||
#include "vector_t.h"
|
#include "vector_t.h"
|
||||||
#include "exceptions.h"
|
#include "exceptions.h"
|
||||||
#include "random"
|
|
||||||
#include "chrono"
|
|
||||||
|
|
||||||
#ifdef GCTL_EIGEN
|
#ifdef GCTL_EIGEN
|
||||||
/*The followings bypass a bug that VsCode's IntelliSense reports incorrect errors when using eigen3 library*/
|
/*The followings bypass a bug that VsCode's IntelliSense reports incorrect errors when using eigen3 library*/
|
||||||
|
@ -28,11 +28,11 @@
|
|||||||
#ifndef _GCTL_EXCEPTIONS_H
|
#ifndef _GCTL_EXCEPTIONS_H
|
||||||
#define _GCTL_EXCEPTIONS_H
|
#define _GCTL_EXCEPTIONS_H
|
||||||
|
|
||||||
#include "string"
|
#include <string>
|
||||||
#include "iostream"
|
#include <iostream>
|
||||||
#include "exception"
|
#include <exception>
|
||||||
#include "stdexcept"
|
#include <stdexcept>
|
||||||
#include "type_traits"
|
#include <type_traits>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* define error symbols
|
* define error symbols
|
||||||
@ -42,11 +42,11 @@
|
|||||||
#define GCTL_MESSAGE_ERROR -3
|
#define GCTL_MESSAGE_ERROR -3
|
||||||
|
|
||||||
#if defined _WINDOWS || __WIN32__
|
#if defined _WINDOWS || __WIN32__
|
||||||
#include "io.h"
|
#include <io.h>
|
||||||
#include "process.h"
|
#include <process.h>
|
||||||
#include "windows.h"
|
#include <windows.h>
|
||||||
#else
|
#else
|
||||||
#include "unistd.h"
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined _WINDOWS || __WIN32__
|
#if defined _WINDOWS || __WIN32__
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
#ifndef _GCTL_MATRIX_H
|
#ifndef _GCTL_MATRIX_H
|
||||||
#define _GCTL_MATRIX_H
|
#define _GCTL_MATRIX_H
|
||||||
|
|
||||||
#include "typeinfo"
|
#include <typeinfo>
|
||||||
#include "array.h"
|
#include "array.h"
|
||||||
|
|
||||||
namespace gctl
|
namespace gctl
|
||||||
|
@ -28,9 +28,9 @@
|
|||||||
#ifndef _GCTL_VECTOR_TYPE_H
|
#ifndef _GCTL_VECTOR_TYPE_H
|
||||||
#define _GCTL_VECTOR_TYPE_H
|
#define _GCTL_VECTOR_TYPE_H
|
||||||
|
|
||||||
#include "vector"
|
#include <vector>
|
||||||
#include "complex"
|
#include <complex>
|
||||||
#include "iostream"
|
#include <iostream>
|
||||||
|
|
||||||
namespace gctl
|
namespace gctl
|
||||||
{
|
{
|
||||||
|
@ -25,16 +25,16 @@
|
|||||||
* Also add information on how to contact you by electronic and paper mail.
|
* Also add information on how to contact you by electronic and paper mail.
|
||||||
******************************************************/
|
******************************************************/
|
||||||
|
|
||||||
#include "stream.h"
|
#include <cmath>
|
||||||
|
|
||||||
#include "cmath"
|
|
||||||
|
|
||||||
#if defined _WINDOWS || __WIN32__
|
#if defined _WINDOWS || __WIN32__
|
||||||
#include "io.h"
|
#include <io.h>
|
||||||
// Test for file existence
|
// Test for file existence
|
||||||
#define F_OK 0
|
#define F_OK 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "stream.h"
|
||||||
|
|
||||||
//在终端显示一个简易的GCTL图标
|
//在终端显示一个简易的GCTL图标
|
||||||
void gctl::display_logo(std::ostream &sout)
|
void gctl::display_logo(std::ostream &sout)
|
||||||
{
|
{
|
||||||
|
@ -28,8 +28,8 @@
|
|||||||
#ifndef _GCTL_STREAM_TEMPLATE_H
|
#ifndef _GCTL_STREAM_TEMPLATE_H
|
||||||
#define _GCTL_STREAM_TEMPLATE_H
|
#define _GCTL_STREAM_TEMPLATE_H
|
||||||
|
|
||||||
#include "string"
|
#include <string>
|
||||||
#include "sstream"
|
#include <sstream>
|
||||||
|
|
||||||
#include "../core/exceptions.h"
|
#include "../core/exceptions.h"
|
||||||
#include "../core/vector_t.h"
|
#include "../core/vector_t.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user