maal::abstract::Matrix Class Reference

Abstract Matrix class. More...

#include <jrl/mal/abstractmatrix.hh>

List of all members.

Public Member Functions

 Matrix (const unsigned int rows=0, const unsigned int cols=0)
 Matrix (InternalMatrix *clone, const bool proprio=false)
 Matrix (const Matrix &copy)
virtual ~Matrix (void)
InternalMatrix & accessToMotherLib (void)
const InternalMatrix & accessToMotherLib (void) const
MatrixinitFromMotherLib (const InternalMatrix &bv)
Matrixresize (const unsigned int nbRows, const unsigned int nbCols, const bool setZero=true)
unsigned int nbRows (void) const
unsigned int nbCols (void) const
MatrixsetZero (void)
MatrixsetIdentity (void)
Matrixfill (const FloatType value)
FloatType determinant (void) const
FloatType trace (void) const
FloatType norm (void) const
FloatType norm1 (void) const
FloatType normInfty (void) const
FloatType max (void) const
FloatType min (void) const
FloatType sumSquare (void) const
Matrixtranspose (Matrix &At) const
Matrix transpose (void) const
Matrixinverse (Matrix &invMatrix) const
Matrix inverse (void) const
MatrixpseudoInverse (Matrix &invMatrix, const FloatType threshold=1e-6, Matrix *Uref=NULL, Matrix *Sref=NULL, Matrix *Vref=NULL) const
Matrix pseudoInverse (const FloatType threshold=1e-6, Matrix *U=NULL, Matrix *S=NULL, Matrix *V=NULL) const
MatrixdampedInverse (Matrix &invMatrix, const FloatType threshold=1e-6, Matrix *U=NULL, Matrix *S=NULL, Matrix *V=NULL) const
Matrix dampedInverse (const FloatType threshold=1e-6, Matrix *U=NULL, Matrix *S=NULL, Matrix *V=NULL) const
Matrixopposite (Matrix &res) const
Matrix opposite (void) const
Matrix multiply (const Matrix &B) const
Matrixmultiply (const Matrix &B, Matrix &C) const
Vector multiply (const Vector &v) const
Vectormultiply (const Vector &v, Vector &res) const
Matrix addition (const Matrix &B) const
Matrixaddition (const Matrix &B, Matrix &C) const
Matrix substraction (const Matrix &B) const
Matrixsubstraction (const Matrix &B, Matrix &C) const
Matrix multiply (const FloatType x) const
Matrixmultiply (const FloatType x, Matrix &C) const
Matrix addition (const FloatType x) const
Matrixaddition (const FloatType x, Matrix &C) const
Matrix substraction (const FloatType x) const
Matrixsubstraction (const FloatType x, Matrix &C) const
Matrix division (const FloatType x) const
Matrixdivision (const FloatType x, Matrix &C) const
FloatTypedatablock (void)
const FloatTypedatablock (void) const
Matrixextract (const int top, const int left, const int nbrows, const int nbcols, Matrix &C) const
Matrix extract (const int top, const int left, const int nbrows, const int nbcols) const
const FloatTypeelementAt (const int row, const int col) const
FloatTypeelementAt (const int row, const int col)
const FloatTypeelementAt (const int elmt) const
FloatTypeelementAt (const int elmt)
Vector getDiagonal (void) const
VectorgetDiagonal (Vector &vector) const
MatrixsetDiagonal (const Vector &vector)
MatrixstackMatrix (const Matrix &B, Matrix &C) const
Matrix stackMatrix (const Matrix &B) const
MatrixjuxtaposeMatrix (const Matrix &B, Matrix &C) const
Matrix juxtaposeMatrix (const Matrix &B) const
Matrixoperator+= (const Matrix &m1)
Matrixoperator-= (const Matrix &m1)
Matrixoperator*= (const Matrix &m1)
Matrixoperator*= (const FloatType x)
const FloatTypeoperator() (const int i, const int j) const
FloatTypeoperator() (const int i, const int j)
const FloatTypeoperator() (const int n) const
FloatTypeoperator() (const int n)
Matrixoperator= (const Matrix &m1)

Friends

Matrixmultiply (const Matrix &A, const Matrix &B, Matrix &C)
Vectormultiply (const Matrix &M, const Vector &v, Vector &res)
Matrixaddition (const Matrix &A, const Matrix &B, Matrix &C)
Matrixsubstraction (const Matrix &A, const Matrix &B, Matrix &C)
Matrixmultiply (const Matrix &A, const FloatType x, Matrix &C)
Matrixaddition (const Matrix &A, const FloatType x, Matrix &C)
Matrixsubstraction (const Matrix &A, const FloatType x, Matrix &C)
Matrixdivision (const Matrix &A, const FloatType x, Matrix &C)
Matrix operator+ (const Matrix &m1, const Matrix &m2)
Matrix operator- (const Matrix &m1, const Matrix &m2)
Matrix operator* (const Matrix &m1, const Matrix &m2)
Matrix operator- (const Matrix &m)
Vector operator* (const Matrix &M, const Vector &v1)
Vector operator* (const Vector &v1, const Matrix &M)
Matrix operator+ (const FloatType x, const Matrix &m1)
Matrix operator- (const FloatType x, const Matrix &m1)
Matrix operator* (const FloatType x, const Matrix &m1)
Matrix operator/ (const FloatType x, const Matrix &m1)
Matrix operator+ (const Matrix &m1, const FloatType x)
Matrix operator- (const Matrix &m1, const FloatType x)
Matrix operator* (const Matrix &m1, const FloatType x)
Matrix operator/ (const Matrix &m1, const FloatType x)
std::ostream & operator<< (std::ostream &os, const Matrix &m1)
std::istream & operator>> (std::istream &is, Matrix &v1)

Detailed Description

Abstract Matrix class.


Constructor & Destructor Documentation

maal::abstract::Matrix::Matrix ( const unsigned int  rows = 0,
const unsigned int  cols = 0 
)
maal::abstract::Matrix::Matrix ( InternalMatrix *  clone,
const bool  proprio = false 
)
virtual maal::abstract::Matrix::~Matrix ( void  ) [virtual]

Member Function Documentation

InternalMatrix& maal::abstract::Matrix::accessToMotherLib ( void  )
const InternalMatrix& maal::abstract::Matrix::accessToMotherLib ( void  ) const
Matrix maal::abstract::Matrix::addition ( const Matrix B) const [inline]
Matrix& maal::abstract::Matrix::addition ( const Matrix B,
Matrix C 
) const [inline]
Matrix maal::abstract::Matrix::addition ( const FloatType  x) const [inline]
Matrix& maal::abstract::Matrix::addition ( const FloatType  x,
Matrix C 
) const [inline]
Matrix& maal::abstract::Matrix::dampedInverse ( Matrix invMatrix,
const FloatType  threshold = 1e-6,
Matrix U = NULL,
Matrix S = NULL,
Matrix V = NULL 
) const [inline]
Matrix maal::abstract::Matrix::dampedInverse ( const FloatType  threshold = 1e-6,
Matrix U = NULL,
Matrix S = NULL,
Matrix V = NULL 
) const [inline]
const FloatType* maal::abstract::Matrix::datablock ( void  ) const [inline]
Matrix maal::abstract::Matrix::division ( const FloatType  x) const [inline]
Matrix& maal::abstract::Matrix::division ( const FloatType  x,
Matrix C 
) const [inline]
const FloatType& maal::abstract::Matrix::elementAt ( const int  row,
const int  col 
) const [inline]
FloatType& maal::abstract::Matrix::elementAt ( const int  row,
const int  col 
) [inline]
const FloatType& maal::abstract::Matrix::elementAt ( const int  elmt) const [inline]
FloatType& maal::abstract::Matrix::elementAt ( const int  elmt) [inline]
Matrix& maal::abstract::Matrix::extract ( const int  top,
const int  left,
const int  nbrows,
const int  nbcols,
Matrix C 
) const [inline]
Matrix maal::abstract::Matrix::extract ( const int  top,
const int  left,
const int  nbrows,
const int  nbcols 
) const [inline]
Matrix& maal::abstract::Matrix::fill ( const FloatType  value) [inline]
Vector maal::abstract::Matrix::getDiagonal ( void  ) const [inline]
Vector& maal::abstract::Matrix::getDiagonal ( Vector vector) const [inline]
Matrix& maal::abstract::Matrix::initFromMotherLib ( const InternalMatrix &  bv)
Matrix& maal::abstract::Matrix::inverse ( Matrix invMatrix) const [inline]
Matrix maal::abstract::Matrix::inverse ( void  ) const [inline]
Matrix& maal::abstract::Matrix::juxtaposeMatrix ( const Matrix B,
Matrix C 
) const [inline]
Matrix maal::abstract::Matrix::juxtaposeMatrix ( const Matrix B) const [inline]
FloatType maal::abstract::Matrix::max ( void  ) const [inline]
FloatType maal::abstract::Matrix::min ( void  ) const [inline]
Matrix maal::abstract::Matrix::multiply ( const Matrix B) const [inline]
Matrix& maal::abstract::Matrix::multiply ( const Matrix B,
Matrix C 
) const [inline]
Vector maal::abstract::Matrix::multiply ( const Vector v) const [inline]
Vector& maal::abstract::Matrix::multiply ( const Vector v,
Vector res 
) const [inline]
Matrix maal::abstract::Matrix::multiply ( const FloatType  x) const [inline]
Matrix& maal::abstract::Matrix::multiply ( const FloatType  x,
Matrix C 
) const [inline]
unsigned int maal::abstract::Matrix::nbCols ( void  ) const [inline]
unsigned int maal::abstract::Matrix::nbRows ( void  ) const [inline]
FloatType maal::abstract::Matrix::norm ( void  ) const [inline]
FloatType maal::abstract::Matrix::norm1 ( void  ) const [inline]
FloatType maal::abstract::Matrix::normInfty ( void  ) const [inline]
const FloatType& maal::abstract::Matrix::operator() ( const int  i,
const int  j 
) const [inline]
FloatType& maal::abstract::Matrix::operator() ( const int  i,
const int  j 
) [inline]
const FloatType& maal::abstract::Matrix::operator() ( const int  n) const [inline]
FloatType& maal::abstract::Matrix::operator() ( const int  n) [inline]
Matrix& maal::abstract::Matrix::operator*= ( const Matrix m1) [inline]
Matrix& maal::abstract::Matrix::operator*= ( const FloatType  x) [inline]
Matrix& maal::abstract::Matrix::operator+= ( const Matrix m1) [inline]
Matrix& maal::abstract::Matrix::operator-= ( const Matrix m1) [inline]
Matrix& maal::abstract::Matrix::operator= ( const Matrix m1) [inline]
Matrix& maal::abstract::Matrix::opposite ( Matrix res) const [inline]
Matrix maal::abstract::Matrix::opposite ( void  ) const [inline]
Matrix& maal::abstract::Matrix::pseudoInverse ( Matrix invMatrix,
const FloatType  threshold = 1e-6,
Matrix Uref = NULL,
Matrix Sref = NULL,
Matrix Vref = NULL 
) const
Matrix maal::abstract::Matrix::pseudoInverse ( const FloatType  threshold = 1e-6,
Matrix U = NULL,
Matrix S = NULL,
Matrix V = NULL 
) const [inline]
Matrix& maal::abstract::Matrix::resize ( const unsigned int  nbRows,
const unsigned int  nbCols,
const bool  setZero = true 
) [inline]
Matrix& maal::abstract::Matrix::setDiagonal ( const Vector vector) [inline]
Matrix& maal::abstract::Matrix::stackMatrix ( const Matrix B,
Matrix C 
) const [inline]
Matrix maal::abstract::Matrix::stackMatrix ( const Matrix B) const [inline]
Matrix maal::abstract::Matrix::substraction ( const Matrix B) const [inline]
Matrix& maal::abstract::Matrix::substraction ( const Matrix B,
Matrix C 
) const [inline]
Matrix& maal::abstract::Matrix::substraction ( const FloatType  x,
Matrix C 
) const [inline]
FloatType maal::abstract::Matrix::sumSquare ( void  ) const [inline]
FloatType maal::abstract::Matrix::trace ( void  ) const [inline]
Matrix& maal::abstract::Matrix::transpose ( Matrix At) const [inline]
Matrix maal::abstract::Matrix::transpose ( void  ) const [inline]

Friends And Related Function Documentation

Matrix& addition ( const Matrix A,
const Matrix B,
Matrix C 
) [friend]
Matrix& addition ( const Matrix A,
const FloatType  x,
Matrix C 
) [friend]
Matrix& division ( const Matrix A,
const FloatType  x,
Matrix C 
) [friend]
Matrix& multiply ( const Matrix A,
const Matrix B,
Matrix C 
) [friend]
Vector& multiply ( const Matrix M,
const Vector v,
Vector res 
) [friend]
Matrix& multiply ( const Matrix A,
const FloatType  x,
Matrix C 
) [friend]
Matrix operator* ( const Matrix m1,
const Matrix m2 
) [friend]
Vector operator* ( const Matrix M,
const Vector v1 
) [friend]
Vector operator* ( const Vector v1,
const Matrix M 
) [friend]
Matrix operator* ( const FloatType  x,
const Matrix m1 
) [friend]
Matrix operator* ( const Matrix m1,
const FloatType  x 
) [friend]
Matrix operator+ ( const Matrix m1,
const Matrix m2 
) [friend]
Matrix operator+ ( const FloatType  x,
const Matrix m1 
) [friend]
Matrix operator+ ( const Matrix m1,
const FloatType  x 
) [friend]
Matrix operator- ( const Matrix m1,
const Matrix m2 
) [friend]
Matrix operator- ( const Matrix m) [friend]
Matrix operator- ( const FloatType  x,
const Matrix m1 
) [friend]
Matrix operator- ( const Matrix m1,
const FloatType  x 
) [friend]
Matrix operator/ ( const FloatType  x,
const Matrix m1 
) [friend]
Matrix operator/ ( const Matrix m1,
const FloatType  x 
) [friend]
std::ostream& operator<< ( std::ostream &  os,
const Matrix m1 
) [friend]
std::istream& operator>> ( std::istream &  is,
Matrix v1 
) [friend]
Matrix& substraction ( const Matrix A,
const Matrix B,
Matrix C 
) [friend]
Matrix& substraction ( const Matrix A,
const FloatType  x,
Matrix C 
) [friend]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines