eLynx SDK
v3.0.1 C++ image processing API reference |
#include <TransposedMatrix.h>
Public Member Functions | |
TransposedMatrix (IMatrix &iMatrix) | |
TransposedMatrix (const TransposedMatrix &iOther) | |
TransposedMatrix & | operator= (const TransposedMatrix &iOther) |
virtual uint32 | GetWidth () const |
virtual uint32 | GetHeight () const |
virtual const double & | operator() (uint32 iRow, uint32 iCol) const |
virtual double & | operator() (uint32 iRow, uint32 iCol) |
virtual void | SwapRows (uint32 iRow1, uint32 iRow2) |
virtual void | SwapCols (uint32 iCol1, uint32 iCol2) |
Definition at line 31 of file TransposedMatrix.h.
eLynx::Math::TransposedMatrix::TransposedMatrix | ( | IMatrix & | iMatrix | ) | [inline] |
Constructor, creates transposed adapter for specified matrix.
iMatrix | the matrix to be transposed |
Definition at line 37 of file TransposedMatrix.h.
eLynx::Math::TransposedMatrix::TransposedMatrix | ( | const TransposedMatrix & | iOther | ) | [inline] |
Copy constructor
iOther | the object to copy |
Definition at line 41 of file TransposedMatrix.h.
TransposedMatrix& eLynx::Math::TransposedMatrix::operator= | ( | const TransposedMatrix & | iOther | ) | [inline] |
An assignement operator
iOther | the object to copy |
Definition at line 46 of file TransposedMatrix.h.
virtual uint32 eLynx::Math::TransposedMatrix::GetWidth | ( | ) | const [inline, virtual] |
Returns transposed matrix width (number of columns = number of rows of the original matrix).
Implements eLynx::Math::IMatrix.
Definition at line 52 of file TransposedMatrix.h.
virtual uint32 eLynx::Math::TransposedMatrix::GetHeight | ( | ) | const [inline, virtual] |
Returns transposed matrix height (number of rows = number of columns of the original matrix).
Implements eLynx::Math::IMatrix.
Definition at line 57 of file TransposedMatrix.h.
virtual const double& eLynx::Math::TransposedMatrix::operator() | ( | uint32 | iRow, | |
uint32 | iCol | |||
) | const [inline, virtual] |
Matrix content access operator. Can be used in form Matrix(r, c).
iRow | the row index (column in the original matrix) | |
iCol | the column index (row in the original matrix) |
Implements eLynx::Math::IMatrix.
Definition at line 63 of file TransposedMatrix.h.
virtual double& eLynx::Math::TransposedMatrix::operator() | ( | uint32 | iRow, | |
uint32 | iCol | |||
) | [inline, virtual] |
Matrix content access operator. Can be used in form Matrix(r, c).
iRow | the row index (column in the original matrix) | |
iCol | the column index (row in the original matrix) |
Implements eLynx::Math::IMatrix.
Definition at line 70 of file TransposedMatrix.h.
virtual void eLynx::Math::TransposedMatrix::SwapRows | ( | uint32 | iRow1, | |
uint32 | iRow2 | |||
) | [inline, virtual] |
Swap matrix rows (columns in the original matrix)
iRow1 | the first row to swap | |
iRow2 | the second row to swap |
Implements eLynx::Math::IMatrix.
Definition at line 76 of file TransposedMatrix.h.
virtual void eLynx::Math::TransposedMatrix::SwapCols | ( | uint32 | iCol1, | |
uint32 | iCol2 | |||
) | [inline, virtual] |
Swap matrix columns (rows in the original matrix)
iCol1 | the first column to swap | |
iCol2 | the second column to swap |
Implements eLynx::Math::IMatrix.
Definition at line 82 of file TransposedMatrix.h.