![]() |
KIDS
ver-0.0.1
KIDS : Kernel Integrated Dynamics Simulator
|
Go to the source code of this file.
Macros | |
#define | ARRAY_IMPLEMENT_MACRO |
Declare implement of array. | |
#define | ARRAY_IMPLEMENT_EIEGN |
#define | ARRAY_IMPLEMENT_XTENSOR |
#define | ARRAY_SHOW(_A, _n1, _n2) |
Functions | |
template<class T > | |
bool | ARRAY_ISFINITE (T *A, size_t n) |
#define ARRAY_IMPLEMENT_EIEGN |
Definition at line 43 of file array_utils.h.
#define ARRAY_IMPLEMENT_MACRO |
Declare implement of array.
Options: Eigen, xtensor and macro. See more:
@test: performance tests are on $DIR/benckmark/array_benckmark.md
: realize basic interface for array manipulations:
interface to Eigen/xtensor: base on inline functions and templated functions. Here xtensor(or xtensor-blas) further interface to mkl functions by flens
project.
interface to macro: base on macro definitions. Easy to read and use, but little low efficiency.
we recomment interface to Eigen by default.
Definition at line 42 of file array_utils.h.
#define ARRAY_IMPLEMENT_XTENSOR |
Definition at line 44 of file array_utils.h.
#define ARRAY_SHOW | ( | _A, | |
_n1, | |||
_n2 ) |
Definition at line 54 of file array_utils.h.
bool ARRAY_ISFINITE | ( | T * | A, |
size_t | n ) |
Definition at line 67 of file array_utils.h.