eLynx SDK v3.0.1
C++ image processing API reference

eLynx::Math::MatrixRowVector Class Reference

#include <MatrixRowVector.h>

Inheritance diagram for eLynx::Math::MatrixRowVector:

eLynx::Math::IVector

List of all members.


Public Member Functions

 MatrixRowVector (IMatrix &iMatrix, uint32 iRow)
 MatrixRowVector (const MatrixRowVector &iC)
MatrixRowVectoroperator= (const MatrixRowVector &iC)
virtual uint32 GetSize () const
virtual const double & operator() (uint32 iIndex) const
virtual double & operator() (uint32 iIndex)
virtual void SwapValues (uint32 iIndex1, uint32 iIndex2)

Detailed Description

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.

Definition at line 32 of file MatrixRowVector.h.


Constructor & Destructor Documentation

eLynx::Math::MatrixRowVector::MatrixRowVector ( IMatrix iMatrix,
uint32  iRow 
)

Constructor, creates an row vector adapter above specified matrix and its row.

Parameters:
iMatrix the matrix
iRow the index of the matrix row

eLynx::Math::MatrixRowVector::MatrixRowVector ( const MatrixRowVector iC  ) 

Copy constructor

Parameters:
iC the object to be copied


Member Function Documentation

MatrixRowVector& eLynx::Math::MatrixRowVector::operator= ( const MatrixRowVector iC  ) 

An assignement operator

Parameters:
iC the object to be copied
Returns:
the reference to this object

virtual uint32 eLynx::Math::MatrixRowVector::GetSize (  )  const [inline, virtual]

Returns the vector size (matrix row width).

Returns:
the size of the vector

Implements eLynx::Math::IVector.

Definition at line 53 of file MatrixRowVector.h.

virtual const double& eLynx::Math::MatrixRowVector::operator() ( uint32  iIndex  )  const [inline, virtual]

Vector access operator - returns reference to particular value of the matrix row.

Parameters:
iIndex the index in the vector/row
Returns:
the const reference to the row value

Implements eLynx::Math::IVector.

Definition at line 59 of file MatrixRowVector.h.

virtual double& eLynx::Math::MatrixRowVector::operator() ( uint32  iIndex  )  [inline, virtual]

Vector access operator - returns reference to particular value of the matrix row.

Parameters:
iIndex the index in the vector/row
Returns:
the reference to the row value

Implements eLynx::Math::IVector.

Definition at line 66 of file MatrixRowVector.h.

virtual void eLynx::Math::MatrixRowVector::SwapValues ( uint32  iIndex1,
uint32  iIndex2 
) [virtual]

Swaps specified vector (row) values.

Parameters:
iIndex1 the index of the first value
iIndex2 the index of the second value

Implements eLynx::Math::IVector.


The documentation for this class was generated from the following file:

Generated on 14 Apr 2009 by doxygen 1.5.8