Public Member Functions | List of all members
MatrixWrapper::Matrix_Wrapper Class Referenceabstract

Class Matrixwrapper. More...

#include <matrix_wrapper.h>

Public Member Functions

virtual unsigned int capacity () const =0
 Ask Number of Rows. More...
 
virtual MyColumnVector columnCopy (unsigned int c) const =0
 Get column from matrix. More...
 
virtual unsigned int columns () const =0
 Ask Number of Columns. More...
 
virtual int convertToSymmetricMatrix (MySymmetricMatrix &sym)=0
 Turn matrix into Symmetric one. More...
 
virtual double determinant () const =0
 get determinant More...
 
virtual MyMatrix inverse () const =0
 get inverse More...
 
 Matrix_Wrapper ()
 Constructor. More...
 
virtual double & operator() (unsigned int, unsigned int)=0
 Operator () More...
 
virtual double operator() (unsigned int, unsigned int) const =0
 Operator () More...
 
virtual MyMatrix operator* (double b) const =0
 MATRIX - SCALAR operator. More...
 
virtual MyMatrix operator* (const MyMatrix &a) const =0
 MATRIX - MATRIX operator. More...
 
virtual MyColumnVector operator* (const MyColumnVector &b) const =0
 MATRIX - VECTOR operator. More...
 
virtual MyMatrixoperator*= (double b)=0
 MATRIX - SCALAR operator. More...
 
virtual MyMatrix operator+ (double b) const =0
 MATRIX - SCALAR operator. More...
 
virtual MyMatrix operator+ (const MyMatrix &a) const =0
 MATRIX - MATRIX operator. More...
 
virtual MyMatrixoperator+= (double a)=0
 MATRIX - SCALAR operator. More...
 
virtual MyMatrixoperator+= (const MyMatrix &a)=0
 MATRIX - MATRIX operator. More...
 
virtual MyMatrix operator- (double b) const =0
 MATRIX - SCALAR operator. More...
 
virtual MyMatrix operator- (const MyMatrix &a) const =0
 MATRIX - MATRIX operator. More...
 
virtual MyMatrixoperator-= (double a)=0
 MATRIX - SCALAR operator. More...
 
virtual MyMatrixoperator-= (const MyMatrix &a)=0
 MATRIX - MATRIX operator. More...
 
virtual MyMatrix operator/ (double b) const =0
 MATRIX - SCALAR operator. More...
 
virtual MyMatrixoperator/= (double b)=0
 MATRIX - SCALAR operator. More...
 
virtual MyMatrixoperator= (double a)=0
 Set all elements of the Matrix equal to a. More...
 
virtual MyMatrixoperator= (const MySymmetricMatrix &a)=0
 MATRIX - SYMMETRICMATRIX operators. More...
 
virtual bool operator== (const MyMatrix &a) const =0
 Operator ==. More...
 
virtual MyMatrix pseudoinverse (double epsilon=0.01) const
 get pseudoinverse More...
 
double PYTHAG (double a, double b) const
 
virtual void resize (unsigned int i, unsigned int j, bool copy=true, bool initialize=true)=0
 resize matrix More...
 
virtual MyRowVector rowCopy (unsigned int r) const =0
 Get row from matrix. More...
 
virtual unsigned int rows () const =0
 Ask Number of Rows. More...
 
double SIGN (double a, double b) const
 
virtual unsigned int size () const =0
 Ask Number of Rows. More...
 
virtual MyMatrix sub (int i_start, int i_end, int j_start, int j_end) const =0
 get sub matrix More...
 
virtual bool SVD (MyColumnVector &D, MyMatrix &U, MyMatrix &V) const
 SVD Decomposition (for pseudo-inverse properties) More...
 
virtual MyMatrix transpose () const =0
 get transpose More...
 
virtual ~Matrix_Wrapper ()
 Destructor. More...
 

Detailed Description

Class Matrixwrapper.

Definition at line 39 of file matrix_wrapper.h.

Constructor & Destructor Documentation

MatrixWrapper::Matrix_Wrapper::Matrix_Wrapper ( )
inline

Constructor.

Definition at line 44 of file matrix_wrapper.h.

virtual MatrixWrapper::Matrix_Wrapper::~Matrix_Wrapper ( )
inlinevirtual

Destructor.

Definition at line 47 of file matrix_wrapper.h.

Member Function Documentation

virtual unsigned int MatrixWrapper::Matrix_Wrapper::capacity ( ) const
pure virtual

Ask Number of Rows.

virtual MyColumnVector MatrixWrapper::Matrix_Wrapper::columnCopy ( unsigned int  c) const
pure virtual

Get column from matrix.

virtual unsigned int MatrixWrapper::Matrix_Wrapper::columns ( ) const
pure virtual

Ask Number of Columns.

virtual int MatrixWrapper::Matrix_Wrapper::convertToSymmetricMatrix ( MySymmetricMatrix sym)
pure virtual

Turn matrix into Symmetric one.

Convert Matrix to SymmetricMatrix Elements of matrix are copied to lower triangle of new symmetric matrix

virtual double MatrixWrapper::Matrix_Wrapper::determinant ( ) const
pure virtual

get determinant

virtual MyMatrix MatrixWrapper::Matrix_Wrapper::inverse ( ) const
pure virtual

get inverse

virtual double& MatrixWrapper::Matrix_Wrapper::operator() ( unsigned  int,
unsigned  int 
)
pure virtual

Operator ()

virtual double MatrixWrapper::Matrix_Wrapper::operator() ( unsigned  int,
unsigned  int 
) const
pure virtual

Operator ()

virtual MyMatrix MatrixWrapper::Matrix_Wrapper::operator* ( double  b) const
pure virtual

MATRIX - SCALAR operator.

virtual MyMatrix MatrixWrapper::Matrix_Wrapper::operator* ( const MyMatrix a) const
pure virtual

MATRIX - MATRIX operator.

virtual MyColumnVector MatrixWrapper::Matrix_Wrapper::operator* ( const MyColumnVector b) const
pure virtual

MATRIX - VECTOR operator.

virtual MyMatrix& MatrixWrapper::Matrix_Wrapper::operator*= ( double  b)
pure virtual

MATRIX - SCALAR operator.

virtual MyMatrix MatrixWrapper::Matrix_Wrapper::operator+ ( double  b) const
pure virtual

MATRIX - SCALAR operator.

virtual MyMatrix MatrixWrapper::Matrix_Wrapper::operator+ ( const MyMatrix a) const
pure virtual

MATRIX - MATRIX operator.

virtual MyMatrix& MatrixWrapper::Matrix_Wrapper::operator+= ( double  a)
pure virtual

MATRIX - SCALAR operator.

virtual MyMatrix& MatrixWrapper::Matrix_Wrapper::operator+= ( const MyMatrix a)
pure virtual

MATRIX - MATRIX operator.

virtual MyMatrix MatrixWrapper::Matrix_Wrapper::operator- ( double  b) const
pure virtual

MATRIX - SCALAR operator.

virtual MyMatrix MatrixWrapper::Matrix_Wrapper::operator- ( const MyMatrix a) const
pure virtual

MATRIX - MATRIX operator.

virtual MyMatrix& MatrixWrapper::Matrix_Wrapper::operator-= ( double  a)
pure virtual

MATRIX - SCALAR operator.

virtual MyMatrix& MatrixWrapper::Matrix_Wrapper::operator-= ( const MyMatrix a)
pure virtual

MATRIX - MATRIX operator.

virtual MyMatrix MatrixWrapper::Matrix_Wrapper::operator/ ( double  b) const
pure virtual

MATRIX - SCALAR operator.

virtual MyMatrix& MatrixWrapper::Matrix_Wrapper::operator/= ( double  b)
pure virtual

MATRIX - SCALAR operator.

virtual MyMatrix& MatrixWrapper::Matrix_Wrapper::operator= ( double  a)
pure virtual

Set all elements of the Matrix equal to a.

virtual MyMatrix& MatrixWrapper::Matrix_Wrapper::operator= ( const MySymmetricMatrix a)
pure virtual

MATRIX - SYMMETRICMATRIX operators.

virtual bool MatrixWrapper::Matrix_Wrapper::operator== ( const MyMatrix a) const
pure virtual

Operator ==.

MyMatrix MatrixWrapper::Matrix_Wrapper::pseudoinverse ( double  epsilon = 0.01) const
virtual

get pseudoinverse

Definition at line 310 of file matrix_wrapper.cpp.

double MatrixWrapper::Matrix_Wrapper::PYTHAG ( double  a,
double  b 
) const

Definition at line 283 of file matrix_wrapper.cpp.

virtual void MatrixWrapper::Matrix_Wrapper::resize ( unsigned int  i,
unsigned int  j,
bool  copy = true,
bool  initialize = true 
)
pure virtual

resize matrix

virtual MyRowVector MatrixWrapper::Matrix_Wrapper::rowCopy ( unsigned int  r) const
pure virtual

Get row from matrix.

virtual unsigned int MatrixWrapper::Matrix_Wrapper::rows ( ) const
pure virtual

Ask Number of Rows.

double MatrixWrapper::Matrix_Wrapper::SIGN ( double  a,
double  b 
) const

Definition at line 303 of file matrix_wrapper.cpp.

virtual unsigned int MatrixWrapper::Matrix_Wrapper::size ( ) const
pure virtual

Ask Number of Rows.

virtual MyMatrix MatrixWrapper::Matrix_Wrapper::sub ( int  i_start,
int  i_end,
int  j_start,
int  j_end 
) const
pure virtual

get sub matrix

bool MatrixWrapper::Matrix_Wrapper::SVD ( MyColumnVector D,
MyMatrix U,
MyMatrix V 
) const
virtual

SVD Decomposition (for pseudo-inverse properties)

Definition at line 47 of file matrix_wrapper.cpp.

virtual MyMatrix MatrixWrapper::Matrix_Wrapper::transpose ( ) const
pure virtual

get transpose


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


bfl
Author(s): Klaas Gadeyne, Wim Meeussen, Tinne Delaet and many others. See web page for a full contributor list. ROS package maintained by Wim Meeussen.
autogenerated on Mon Jun 10 2019 12:48:02