Matrix with a pending scale and transpose operation. More...
#include <matrix.h>
Public Member Functions | |
int | nRows () const |
int | nCols () const |
complex | conjOp (complex a) const |
return conjugate if op requires it | |
int | index (int i, int j) const |
Index into data() with possible transpose. | |
matrixScaledTransOp (const matrix &mat, double scale=1.0, CBLAS_TRANSPOSE op=CblasNoTrans) | |
Create from a matrix with an optional scale and op: | |
matrixScaledTransOp (const scaled< matrix > &smat, CBLAS_TRANSPOSE op=CblasNoTrans) | |
Create from a scaled matrix, with an optional op. | |
operator matrix () const | |
convert to matrix | |
matrixScaledTransOp & | operator*= (double s) |
matrixScaledTransOp | operator* (double s) const |
Public Attributes | |
const matrix & | mat |
matrix | |
double | scale |
pending scale factor | |
CBLAS_TRANSPOSE | op |
pending operation (none, transpose or dagger) | |
Friends | |
matrixScaledTransOp | operator* (double s, const matrixScaledTransOp &A) |
Matrix with a pending scale and transpose operation.