![]() |
fml
0.1-0
Fused Matrix Library
|
Base matrix class. Not meant for direct use. Instead see cpumat, gpumat, and mpimat.
More...
#include <unimat.hh>
Public Member Functions | |
| bool | is_square () const |
| Is the matrix square? | |
| len_t | nrows () const |
| Number of rows. | |
| len_t | ncols () const |
| Number of columns. | |
| REAL * | data_ptr () |
| Pointer to the internal array. | |
| REAL * | data_ptr () const |
Protected Attributes | |
| len_t | m |
| len_t | n |
| REAL * | data |
| bool | free_data |
Base matrix class. Not meant for direct use. Instead see cpumat, gpumat, and mpimat.