|
eLynx SDK
v3.3.0 C++ image processing API reference |
Adapter, that provides vector-like read/write access to the row of the matrix. More...
#include <MatrixRowVector.h>
Public Member Functions | |
| MatrixRowVector (IMatrix &iMatrix, uint32 iRow) | |
| Constructor, creates an row vector adapter above specified matrix and its row. | |
| MatrixRowVector (const MatrixRowVector &iC) | |
| Copy constructor. | |
| MatrixRowVector & | operator= (const MatrixRowVector &iC) |
| An assignement operator. | |
| virtual uint32 | GetSize () const |
| Returns the vector size (matrix row width). | |
| virtual const double & | operator() (uint32 iIndex) const |
| Vector access operator - returns reference to particular value of the matrix row. | |
| virtual double & | operator() (uint32 iIndex) |
| Vector access operator - returns reference to particular value of the matrix row. | |
| virtual void | SwapValues (uint32 iIndex1, uint32 iIndex2) |
| Swaps specified vector (row) values. | |
Adapter, that provides vector-like read/write access to the row of the matrix.
Adapter references a matrix and row index and acts like a vector of the same size and content as the specified row.
| eLynx::Math::MatrixRowVector::MatrixRowVector | ( | IMatrix & | iMatrix, |
| uint32 | iRow | ||
| ) |
Constructor, creates an row vector adapter above specified matrix and its row.
| iMatrix | the matrix |
| iRow | the index of the matrix row |
| eLynx::Math::MatrixRowVector::MatrixRowVector | ( | const MatrixRowVector & | iC ) |
Copy constructor.
| iC | the object to be copied |
| virtual uint32 eLynx::Math::MatrixRowVector::GetSize | ( | ) | const [inline, virtual] |
Returns the vector size (matrix row width).
Implements eLynx::Math::IVector.
| virtual double& eLynx::Math::MatrixRowVector::operator() | ( | uint32 | iIndex ) | [inline, virtual] |
Vector access operator - returns reference to particular value of the matrix row.
| iIndex | the index in the vector/row |
Implements eLynx::Math::IVector.
| virtual const double& eLynx::Math::MatrixRowVector::operator() | ( | uint32 | iIndex ) | const [inline, virtual] |
Vector access operator - returns reference to particular value of the matrix row.
| iIndex | the index in the vector/row |
Implements eLynx::Math::IVector.
| MatrixRowVector& eLynx::Math::MatrixRowVector::operator= | ( | const MatrixRowVector & | iC ) |
An assignement operator.
| iC | the object to be copied |
| virtual void eLynx::Math::MatrixRowVector::SwapValues | ( | uint32 | iIndex1, |
| uint32 | iIndex2 | ||
| ) | [virtual] |
Swaps specified vector (row) values.
| iIndex1 | the index of the first value |
| iIndex2 | the index of the second value |
Implements eLynx::Math::IVector.