STARS-H
Software for Testing Accuracy, Reliability and Scalability of Hierarchical computations
|
N-dimensional array. More...
#include <starsh.h>
Data Fields | |
int | ndim |
Number of dimensions of array. | |
int * | shape |
Shape of array. | |
ssize_t * | stride |
Strides of array. | |
char | order |
Ordering of array. More... | |
size_t | size |
Number of elements of array. | |
char | dtype |
Precision of array. More... | |
size_t | dtype_size |
Size of one element of array in bytes. | |
size_t | nbytes |
Size of data buffer and array structure together in bytes. | |
size_t | data_nbytes |
Size of data buffer in bytes. | |
void * | data |
Pointer to data buffer. | |
N-dimensional array.
Simplifies debugging.
char array::dtype |
Precision of array.
Possile value is ‘'s’,
'd',
'c'or
'z'`, much like in names of LAPACK routines.
char array::order |
Ordering of array.
‘'C’for C order (row-major),
'F'` for Fortran order (column-major).