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

eLynx::Math::MatrixColVector Class Reference

#include <MatrixColVector.h>

Inheritance diagram for eLynx::Math::MatrixColVector:

eLynx::Math::IVector

List of all members.


Public Member Functions

 MatrixColVector (IMatrix &iMatrix, uint32 iCol)
 MatrixColVector (const MatrixColVector &iC)
MatrixColVectoroperator= (const MatrixColVector &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 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.

Definition at line 32 of file MatrixColVector.h.


Constructor & Destructor Documentation

eLynx::Math::MatrixColVector::MatrixColVector ( IMatrix iMatrix,
uint32  iCol 
)

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

Parameters:
iMatrix the matrix
iCol the index of the matrix column

eLynx::Math::MatrixColVector::MatrixColVector ( const MatrixColVector iC  ) 

Copy constructor

Parameters:
iC the object to be copied


Member Function Documentation

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

An assignement operator

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

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

Returns the vector size (matrix column height).

Returns:
the size of the vector

Implements eLynx::Math::IVector.

Definition at line 53 of file MatrixColVector.h.

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

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

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

Implements eLynx::Math::IVector.

Definition at line 59 of file MatrixColVector.h.

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

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

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

Implements eLynx::Math::IVector.

Definition at line 66 of file MatrixColVector.h.

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

Swaps specified vector (column) 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