Bayesian Filtering Library Generated from SVN r
Public Member Functions | List of all members
Matrix_Wrapper Class Referenceabstract

Class Matrixwrapper. More...

#include <matrix_wrapper.h>

Public Member Functions

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

Detailed Description

Class Matrixwrapper.

Definition at line 39 of file matrix_wrapper.h.

Constructor & Destructor Documentation

◆ Matrix_Wrapper()

Matrix_Wrapper ( )
inline

Constructor.

Definition at line 44 of file matrix_wrapper.h.

◆ ~Matrix_Wrapper()

virtual ~Matrix_Wrapper ( )
inlinevirtual

Destructor.

Definition at line 47 of file matrix_wrapper.h.

Member Function Documentation

◆ convertToSymmetricMatrix()

virtual int 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


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