34 for (
int row = 0; row <
rows; row++) {
35 for (
int col = 0; col <
cols; col++) {
36 int idx = row *
stride + col;
Header file of single-precision complex array storage with automatic and thread safe reference counti...
Matrix_float to_float32() const
Convert to single precision.
int stride
The column stride of the array. (The array elements in one row are a_0, a_1, ... a_{cols-1}, 0, 0, 0, 0. The number of zeros is stride-cols)
scalar * data
pointer to the stored data
int rows
The number of rows.
int cols
The number of columns.
Header file of complex array storage array with automatic and thread safe reference counting...
void transpose()
Call to transpose (or un-transpose) the matrix for CBLAS functions.
Single-precision complex matrix (float32).
bool is_conjugated() const
Call to get whether the matrix should be conjugated in CBLAS functions or not.
double real
the real part of a complex number
void conjugate()
Call to conjugate (or un-conjugate) the matrix for CBLAS functions.
bool is_transposed() const
Call to get whether the matrix should be conjugated in CBLAS functions or not.
double imag
the imaginary part of a complex number