eLynx SDK
v3.0.1 C++ image processing API reference |
#include <IMatrix.h>
Public Member Functions | |
virtual | ~IMatrix () |
Default virtual destructor implementation. | |
virtual uint32 | GetWidth () const =0 |
virtual uint32 | GetHeight () const =0 |
virtual const double & | operator() (uint32 iRow, uint32 iCol) const =0 |
virtual double & | operator() (uint32 iRow, uint32 iCol)=0 |
virtual void | SwapRows (uint32 iRow1, uint32 iRow2)=0 |
virtual void | SwapCols (uint32 iCol1, uint32 iCol2)=0 |
Definition at line 33 of file IMatrix.h.
virtual eLynx::Math::IMatrix::~IMatrix | ( | ) | [inline, virtual] |
virtual uint32 eLynx::Math::IMatrix::GetWidth | ( | ) | const [pure virtual] |
Returns width (number of columns, N) of the matrix.
Implemented in eLynx::Math::Matrix, eLynx::Math::SingleColMatrix, eLynx::Math::SingleRowMatrix, eLynx::Math::SubMatrix, and eLynx::Math::TransposedMatrix.
virtual uint32 eLynx::Math::IMatrix::GetHeight | ( | ) | const [pure virtual] |
Returns height (number of rows, M) of the matrix.
Implemented in eLynx::Math::Matrix, eLynx::Math::SingleColMatrix, eLynx::Math::SingleRowMatrix, eLynx::Math::SubMatrix, and eLynx::Math::TransposedMatrix.
virtual const double& eLynx::Math::IMatrix::operator() | ( | uint32 | iRow, | |
uint32 | iCol | |||
) | const [pure virtual] |
Matrix content access operator. Can be used in form Matrix(r, c). () operator is prefered on [] operator, because it can have more params.
iRow | the row index | |
iCol | the column index |
Implemented in eLynx::Math::Matrix, eLynx::Math::SingleColMatrix, eLynx::Math::SingleRowMatrix, eLynx::Math::SubMatrix, and eLynx::Math::TransposedMatrix.
virtual double& eLynx::Math::IMatrix::operator() | ( | uint32 | iRow, | |
uint32 | iCol | |||
) | [pure virtual] |
Matrix content access operator. Can be used in form Matrix(r, c). () operator is prefered on [] operator, because it can have more params.
iRow | the row index | |
iCol | the column index |
Implemented in eLynx::Math::Matrix, eLynx::Math::SingleColMatrix, eLynx::Math::SingleRowMatrix, eLynx::Math::SubMatrix, and eLynx::Math::TransposedMatrix.
virtual void eLynx::Math::IMatrix::SwapRows | ( | uint32 | iRow1, | |
uint32 | iRow2 | |||
) | [pure virtual] |
Swaps specified rows of the matrix.
iRow1 | the index of the first row to swap | |
iRow2 | the index of the second row to swap |
Implemented in eLynx::Math::Matrix, eLynx::Math::SingleColMatrix, eLynx::Math::SingleRowMatrix, eLynx::Math::SubMatrix, and eLynx::Math::TransposedMatrix.
virtual void eLynx::Math::IMatrix::SwapCols | ( | uint32 | iCol1, | |
uint32 | iCol2 | |||
) | [pure virtual] |
Swaps specified columns of the matrix.
iCol1 | the index of the first column to swap | |
iCol2 | the index of the second column to swap |
Implemented in eLynx::Math::Matrix, eLynx::Math::SingleColMatrix, eLynx::Math::SingleRowMatrix, eLynx::Math::SubMatrix, and eLynx::Math::TransposedMatrix.