|
| MatrixWrapper () |
| Class constructor.
|
|
| MatrixWrapper (cpl_size rows, cpl_size cols) |
| Class constructor.
|
|
| MatrixWrapper (cpl_size nrows, cpl_size ncols, double *buf) |
| Class constructor.
|
|
| MatrixWrapper (const MatrixWrapper &matrix) |
| Copy constructor.
|
|
virtual | ~MatrixWrapper () |
| Class destructor.
|
|
| Matrix () |
| Class constructor.
|
|
| Matrix (const Matrix &matrix) |
| Copy constructor.
|
|
| Matrix (cpl_size rows, cpl_size cols) |
| Class constructor.
|
|
virtual | ~Matrix () |
| Class destructor.
|
|
bool | IsMatrix () const |
| Check is CPL matrix is not null.
|
|
void | GetMatrixPtr (void **data_ptr) const |
| Get pointer to CPL matrix data.
|
|
void * | GetMatrixPtr () const |
| Get pointer to matrix data.
|
|
cpl_matrix * | GetCplMatrix () const |
| Get CPL matrix pointer.
|
|
void | SetCplMatrix (cpl_matrix *matrix) |
| Set CPL image.
|
|
cpl_size | GetNumCols () const |
| Get number of matrix columns.
|
|
cpl_size | GetNumRows () const |
| Get number of rows.
|
|
void | Get (cpl_size row, cpl_size col, double *value) const |
| Get value of an element in the matrix.
|
|
double | Get (cpl_size row, cpl_size col) |
| Get value of an element in the matrix.
|
|
void | Set (cpl_size row, cpl_size col, double value) |
| Set an element value in the matrix.
|
|
std::string | GetSize () const |
| Get the size of the matrix in the format [row]x[col].
|
|
Matrix & | Sqrt (const Matrix &matrix) |
| It computes the sqrt of each element in the matrix.
|
|
void | Product (const Matrix &, Matrix *product) |
| Rows-by-columns product of two matrices.
|
|
void | Transpose (Matrix *transpose) |
| Create transposed matrix.
|
|
void | Solve (const Matrix &, Matrix *solved) |
| Solution of linear system .
|
|
void | SolveNormal (const Matrix &, Matrix *solved) |
| Solution of overdetermined linear equations in a least squares sense.
|
|
void | Invert (Matrix *inverse) |
| Find a matrix inverse.
|
|
void | Append (const Matrix &matrix, int mode) |
| Append a matrix to another.
|
|
bool | IsDiagonal (const double tolerance) |
| Check if the matrix is diagonal.
|
|
bool | IsIdentity (const double tolerance) |
| Check for identity matrix.
|
|
bool | IsZero (const double tolerance) |
| Check for zero matrix.
|
|
Matrix & | operator+ (const double) |
| Overload operator+.
|
|
Matrix & | operator+ (const Matrix &) |
| Overload operator+.
|
|
Matrix & | operator- (const double) |
| Overload operator-.
|
|
Matrix & | operator- (const Matrix &) |
| Overload operator-.
|
|
Matrix & | operator/ (const double) |
| Overload operator/.
|
|
Matrix & | operator/ (const Matrix &) |
| Overload operator/.
|
|
Matrix & | operator* (const double) |
| Overload operator*.
|
|
Matrix & | operator* (const Matrix &) |
| Overload operator*.
|
|
Matrix & | operator+= (const double) |
| Overload operator+=.
|
|
Matrix & | operator+= (const Matrix &) |
| Overload operator+=.
|
|
Matrix & | operator-= (const double) |
| Overload operator-=.
|
|
Matrix & | operator-= (const Matrix &) |
| Overload operator-=.
|
|
Matrix & | operator/= (const double) |
| Overload operator/=.
|
|
Matrix & | operator/= (const Matrix &) |
| Overload operator/=.
|
|
Matrix & | operator*= (const double) |
| Overload operator*=.
|
|
Matrix & | operator*= (const Matrix &) |
| Overload operator*=.
|
|
Matrix & | operator= (const Matrix &) |
| Overload operator=.
|
|
bool | operator== (const Matrix &) const |
| Overload operator==.
|
|
bool | operator!= (const Matrix &) const |
| Overload operator !=.
|
|
| Error () |
| Class constructor.
|
|
virtual | ~Error () |
| Class destructor.
|
|
void | ResetCplError () |
| Reset CPL error and internal error flag.
|
|
bool | CheckCplError () const |
| Check if there is an error in CPL.
|
|
This class extends the odp::Matrix class adding the constructor to create the CPL matrix from a buffer data of type double.
MatrixWrapper - CPL matrix wrapper class holding a buffer data.