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