Zephyr Scientific Library (zscilib)
|
Common structs and macros for working with matrices. More...
Data Structures | |
struct | zsl_mtx |
Represents a m x n matrix, with data stored in row-major order. More... | |
Macros | |
#define | EEIGENSIZE (100) |
#define | ECOMPLEXVAL (101) |
#define | ZSL_MATRIX_DEF(name, m, n) |
Common structs and macros for working with matrices.
#define ECOMPLEXVAL (101) |
Error: Occurs when the input matrix has complex eigenvalues.
Definition at line 43 of file matrices.h.
#define EEIGENSIZE (100) |
Error: The number of eigenvectors is less than the matrice's dimension.
Definition at line 41 of file matrices.h.
#define ZSL_MATRIX_DEF | ( | name, | |
m, | |||
n | |||
) |
Macro to declare a matrix of shape m*n.
Be sure to also call 'zsl_mtx_init' on the matrix after this macro, since matrices declared on the stack may have non-zero values by default!
Definition at line 61 of file matrices.h.