eLynx SDK
v3.0.1 C++ image processing API reference |
#include <IVector.h>
Public Member Functions | |
virtual | ~IVector () |
Default virtual destructor implementation. | |
virtual uint32 | GetSize () const =0 |
virtual const double & | operator() (uint32 iIndex) const =0 |
virtual double & | operator() (uint32 iIndex)=0 |
virtual void | SwapValues (uint32 iIndex1, uint32 iIndex2)=0 |
Definition at line 33 of file IVector.h.
virtual eLynx::Math::IVector::~IVector | ( | ) | [inline, virtual] |
virtual uint32 eLynx::Math::IVector::GetSize | ( | ) | const [pure virtual] |
Returns the size of the vector.
Implemented in eLynx::Math::MatrixColVector, eLynx::Math::MatrixRowVector, and eLynx::Math::Vector.
virtual const double& eLynx::Math::IVector::operator() | ( | uint32 | iIndex | ) | const [pure virtual] |
Vector content access operator. Can be used in form Vector(i). () operator is prefered on [] operator to unify content access for vectors and matrices.
iIndex | the vector value index |
Implemented in eLynx::Math::MatrixColVector, eLynx::Math::MatrixRowVector, and eLynx::Math::Vector.
virtual double& eLynx::Math::IVector::operator() | ( | uint32 | iIndex | ) | [pure virtual] |
Vector content access operator. Can be used in form Vector(i). () operator is prefered on [] operator to unify content access for vectors and matrices.
iIndex | the vector value index |
Implemented in eLynx::Math::MatrixColVector, eLynx::Math::MatrixRowVector, and eLynx::Math::Vector.
virtual void eLynx::Math::IVector::SwapValues | ( | uint32 | iIndex1, | |
uint32 | iIndex2 | |||
) | [pure virtual] |
Swaps specified values of the vector.
iIndex1 | the index of the first value to swap | |
iIndex2 | the index of the second value to swap |
Implemented in eLynx::Math::MatrixColVector, eLynx::Math::MatrixRowVector, and eLynx::Math::Vector.