Class SymmetricMatrixWrapper. More...
#include <matrix_wrapper.h>
Public Member Functions | |
virtual unsigned int | capacity () const =0 |
Ask Number of Rows. | |
virtual bool | cholesky_semidefinite (MyMatrix &m) const |
Cholesky Decomposition for semidefinite matrices. | |
virtual unsigned int | columns () const =0 |
Ask Number of Columns. | |
virtual double | determinant () const =0 |
get determinant | |
virtual MySymmetricMatrix | inverse () const =0 |
get inverse | |
virtual void | multiply (const MyColumnVector &b, MyColumnVector &result) const =0 |
SYMMETRICMATRIX - VECTOR operator. | |
virtual double & | operator() (unsigned int, unsigned int)=0 |
Operator () | |
virtual double | operator() (unsigned int, unsigned int) const =0 |
Operator () | |
virtual MySymmetricMatrix | operator* (double b) const =0 |
SYMMETRICMATRIX - SCALAR operator. | |
virtual MyMatrix | operator* (const MyMatrix &a) const =0 |
SYMMETRICMATRIX - MATRIX operator. | |
virtual MyMatrix | operator* (const MySymmetricMatrix &a) const =0 |
SYMMETRICMATRIX - SYMMETRICMATRIX operators. | |
virtual ColumnVector | operator* (const MyColumnVector &b) const =0 |
SYMMETRICMATRIX - VECTOR operator. | |
virtual MySymmetricMatrix & | operator*= (double b)=0 |
SYMMETRICMATRIX - SCALAR operator. | |
virtual MySymmetricMatrix | operator+ (double b) const =0 |
SYMMETRICMATRIX - SCALAR operator. | |
virtual MyMatrix | operator+ (const MyMatrix &a) const =0 |
SYMMETRICMATRIX - MATRIX operator. | |
virtual MySymmetricMatrix | operator+ (const MySymmetricMatrix &a) const =0 |
SYMMETRICMATRIX - SYMMETRICMATRIX operators. | |
virtual MySymmetricMatrix & | operator+= (double a)=0 |
SYMMETRICMATRIX - SCALAR operator. | |
virtual MyMatrix & | operator+= (const MyMatrix &a)=0 |
SYMMETRICMATRIX - MATRIX operator. | |
virtual MySymmetricMatrix & | operator+= (const MySymmetricMatrix &a)=0 |
SYMMETRICMATRIX - SYMMETRICMATRIX operators. | |
virtual MySymmetricMatrix | operator- (double b) const =0 |
SYMMETRICMATRIX - SCALAR operator. | |
virtual MyMatrix | operator- (const MyMatrix &a) const =0 |
SYMMETRICMATRIX - MATRIX operator. | |
virtual MySymmetricMatrix | operator- (const MySymmetricMatrix &a) const =0 |
SYMMETRICMATRIX - SYMMETRICMATRIX operators. | |
virtual MySymmetricMatrix & | operator-= (double a)=0 |
SYMMETRICMATRIX - SCALAR operator. | |
virtual MyMatrix & | operator-= (const MyMatrix &a)=0 |
SYMMETRICMATRIX - MATRIX operator. | |
virtual MySymmetricMatrix & | operator-= (const MySymmetricMatrix &a)=0 |
SYMMETRICMATRIX - SYMMETRICMATRIX operators. | |
virtual MySymmetricMatrix | operator/ (double b) const =0 |
SYMMETRICMATRIX - SCALAR operator. | |
virtual MySymmetricMatrix & | operator/= (double b)=0 |
SYMMETRICMATRIX - SCALAR operator. | |
virtual MySymmetricMatrix & | operator= (double a)=0 |
Set all elements of the Matrix equal to a. | |
virtual bool | operator== (const MySymmetricMatrix &a) const =0 |
Operator ==. | |
virtual void | resize (unsigned int i, bool copy=true, bool initialize=true)=0 |
resize symmetric matrix | |
virtual unsigned int | rows () const =0 |
Ask Number of Rows. | |
virtual unsigned int | size () const =0 |
Ask Number of Rows. | |
virtual MyMatrix | sub (int i_start, int i_end, int j_start, int j_end) const =0 |
get sub matrix | |
SymmetricMatrix_Wrapper () | |
Constructor. | |
virtual MySymmetricMatrix | transpose () const =0 |
get transpose | |
virtual | ~SymmetricMatrix_Wrapper () |
Destructor. |
Class SymmetricMatrixWrapper.
Definition at line 166 of file matrix_wrapper.h.
Constructor.
Definition at line 170 of file matrix_wrapper.h.
virtual MatrixWrapper::SymmetricMatrix_Wrapper::~SymmetricMatrix_Wrapper | ( | ) | [inline, virtual] |
Destructor.
Definition at line 173 of file matrix_wrapper.h.
virtual unsigned int MatrixWrapper::SymmetricMatrix_Wrapper::capacity | ( | ) | const [pure virtual] |
Ask Number of Rows.
bool MatrixWrapper::SymmetricMatrix_Wrapper::cholesky_semidefinite | ( | MyMatrix & | m | ) | const [virtual] |
Cholesky Decomposition for semidefinite matrices.
Definition at line 11 of file matrix_wrapper.cpp.
virtual unsigned int MatrixWrapper::SymmetricMatrix_Wrapper::columns | ( | ) | const [pure virtual] |
Ask Number of Columns.
virtual double MatrixWrapper::SymmetricMatrix_Wrapper::determinant | ( | ) | const [pure virtual] |
get determinant
virtual MySymmetricMatrix MatrixWrapper::SymmetricMatrix_Wrapper::inverse | ( | ) | const [pure virtual] |
get inverse
virtual void MatrixWrapper::SymmetricMatrix_Wrapper::multiply | ( | const MyColumnVector & | b, |
MyColumnVector & | result | ||
) | const [pure virtual] |
SYMMETRICMATRIX - VECTOR operator.
virtual double& MatrixWrapper::SymmetricMatrix_Wrapper::operator() | ( | unsigned | int, |
unsigned | int | ||
) | [pure virtual] |
Operator ()
virtual double MatrixWrapper::SymmetricMatrix_Wrapper::operator() | ( | unsigned | int, |
unsigned | int | ||
) | const [pure virtual] |
Operator ()
virtual MySymmetricMatrix MatrixWrapper::SymmetricMatrix_Wrapper::operator* | ( | double | b | ) | const [pure virtual] |
SYMMETRICMATRIX - SCALAR operator.
virtual MyMatrix MatrixWrapper::SymmetricMatrix_Wrapper::operator* | ( | const MyMatrix & | a | ) | const [pure virtual] |
SYMMETRICMATRIX - MATRIX operator.
virtual MyMatrix MatrixWrapper::SymmetricMatrix_Wrapper::operator* | ( | const MySymmetricMatrix & | a | ) | const [pure virtual] |
SYMMETRICMATRIX - SYMMETRICMATRIX operators.
virtual ColumnVector MatrixWrapper::SymmetricMatrix_Wrapper::operator* | ( | const MyColumnVector & | b | ) | const [pure virtual] |
SYMMETRICMATRIX - VECTOR operator.
virtual MySymmetricMatrix& MatrixWrapper::SymmetricMatrix_Wrapper::operator*= | ( | double | b | ) | [pure virtual] |
SYMMETRICMATRIX - SCALAR operator.
virtual MySymmetricMatrix MatrixWrapper::SymmetricMatrix_Wrapper::operator+ | ( | double | b | ) | const [pure virtual] |
SYMMETRICMATRIX - SCALAR operator.
virtual MyMatrix MatrixWrapper::SymmetricMatrix_Wrapper::operator+ | ( | const MyMatrix & | a | ) | const [pure virtual] |
SYMMETRICMATRIX - MATRIX operator.
virtual MySymmetricMatrix MatrixWrapper::SymmetricMatrix_Wrapper::operator+ | ( | const MySymmetricMatrix & | a | ) | const [pure virtual] |
SYMMETRICMATRIX - SYMMETRICMATRIX operators.
virtual MySymmetricMatrix& MatrixWrapper::SymmetricMatrix_Wrapper::operator+= | ( | double | a | ) | [pure virtual] |
SYMMETRICMATRIX - SCALAR operator.
virtual MyMatrix& MatrixWrapper::SymmetricMatrix_Wrapper::operator+= | ( | const MyMatrix & | a | ) | [pure virtual] |
SYMMETRICMATRIX - MATRIX operator.
virtual MySymmetricMatrix& MatrixWrapper::SymmetricMatrix_Wrapper::operator+= | ( | const MySymmetricMatrix & | a | ) | [pure virtual] |
SYMMETRICMATRIX - SYMMETRICMATRIX operators.
virtual MySymmetricMatrix MatrixWrapper::SymmetricMatrix_Wrapper::operator- | ( | double | b | ) | const [pure virtual] |
SYMMETRICMATRIX - SCALAR operator.
virtual MyMatrix MatrixWrapper::SymmetricMatrix_Wrapper::operator- | ( | const MyMatrix & | a | ) | const [pure virtual] |
SYMMETRICMATRIX - MATRIX operator.
virtual MySymmetricMatrix MatrixWrapper::SymmetricMatrix_Wrapper::operator- | ( | const MySymmetricMatrix & | a | ) | const [pure virtual] |
SYMMETRICMATRIX - SYMMETRICMATRIX operators.
virtual MySymmetricMatrix& MatrixWrapper::SymmetricMatrix_Wrapper::operator-= | ( | double | a | ) | [pure virtual] |
SYMMETRICMATRIX - SCALAR operator.
virtual MyMatrix& MatrixWrapper::SymmetricMatrix_Wrapper::operator-= | ( | const MyMatrix & | a | ) | [pure virtual] |
SYMMETRICMATRIX - MATRIX operator.
virtual MySymmetricMatrix& MatrixWrapper::SymmetricMatrix_Wrapper::operator-= | ( | const MySymmetricMatrix & | a | ) | [pure virtual] |
SYMMETRICMATRIX - SYMMETRICMATRIX operators.
virtual MySymmetricMatrix MatrixWrapper::SymmetricMatrix_Wrapper::operator/ | ( | double | b | ) | const [pure virtual] |
SYMMETRICMATRIX - SCALAR operator.
virtual MySymmetricMatrix& MatrixWrapper::SymmetricMatrix_Wrapper::operator/= | ( | double | b | ) | [pure virtual] |
SYMMETRICMATRIX - SCALAR operator.
virtual MySymmetricMatrix& MatrixWrapper::SymmetricMatrix_Wrapper::operator= | ( | double | a | ) | [pure virtual] |
Set all elements of the Matrix equal to a.
virtual bool MatrixWrapper::SymmetricMatrix_Wrapper::operator== | ( | const MySymmetricMatrix & | a | ) | const [pure virtual] |
Operator ==.
virtual void MatrixWrapper::SymmetricMatrix_Wrapper::resize | ( | unsigned int | i, |
bool | copy = true , |
||
bool | initialize = true |
||
) | [pure virtual] |
resize symmetric matrix
virtual unsigned int MatrixWrapper::SymmetricMatrix_Wrapper::rows | ( | ) | const [pure virtual] |
Ask Number of Rows.
virtual unsigned int MatrixWrapper::SymmetricMatrix_Wrapper::size | ( | ) | const [pure virtual] |
Ask Number of Rows.
virtual MyMatrix MatrixWrapper::SymmetricMatrix_Wrapper::sub | ( | int | i_start, |
int | i_end, | ||
int | j_start, | ||
int | j_end | ||
) | const [pure virtual] |
get sub matrix
virtual MySymmetricMatrix MatrixWrapper::SymmetricMatrix_Wrapper::transpose | ( | ) | const [pure virtual] |
get transpose