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