10 for (
int row = 0; row <
rows; row++) {
11 for (
int col = 0; col <
cols; col++) {
12 int idx = row *
stride + col;
Header file of single-precision complex array storage with automatic and thread safe reference counti...
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)
Matrix to_float64() const
Convert to double precision.
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...
Double-precision complex matrix (float64).
void transpose()
Call to transpose (or un-transpose) the matrix for CBLAS functions.
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