Matrix class that include the boost::ublas::matrix. More...
#include <jrl/mal/boostmatrix.hh>
Public Types | |
typedef ::boost::numeric::ublas::matrix< FloatType > | InternalMatrix |
Public Attributes | |
InternalMatrix | staticMatrix |
InternalMatrix * | dynamicMatrix |
InternalMatrix & | matrix |
bool | proprio |
Static Public Attributes | |
static const bool | AUTORESIZE = true |
static const bool | CHECKRESIZE = true |
Matrix class that include the boost::ublas::matrix.
The class encapsulates the ublas::matrix object, and implement a set of standard functions. When the maal::boost::Matrix object is constructed, it automatically builds the internal ublas::matrix object. The internal object can be access through accessToMotherLib. Finally, it is possible to build the capsule around an existing boost ublas::matrix through the appropriate constructor.
typedef ::boost::numeric::ublas::matrix<FloatType> maal::boost::Matrix::InternalMatrix |
|
inline |
Build only the capsule around a already existing boost vector object.
Build a new internal vector from existing boost vector object by copying the data.
References dynamicMatrix, matrix, and proprio.
|
inlinestaticprotected |
References CHECKRESIZE, and matrix.
Referenced by addition(), elementAt(), elementAt(), extract(), and substraction().
|
inlinestaticprotected |
References CHECKRESIZE, and matrix.
|
inlinestaticprotected |
References CHECKRESIZE, and matrix.
Referenced by multiply(), and multiply().
|
inlinestaticprotected |
References CHECKRESIZE, and matrix.
|
inlinestaticprotected |
References CHECKRESIZE, and matrix.
|
inlinestaticprotected |
References CHECKRESIZE, and matrix.
|
inlinestaticprotected |
References CHECKRESIZE, and matrix.
|
inlinestaticprotected |
References CHECKRESIZE, and matrix.
Referenced by determinant().
|
inlinestaticprotected |
References CHECKRESIZE, and matrix.
|
inlinestaticprotected |
References CHECKRESIZE, and matrix.
|
inlinestaticprotected |
References AUTORESIZE, and matrix.
Referenced by dampedInverse().
|
inlinestaticprotected |
References AUTORESIZE, and matrix.
Referenced by dampedInverse(), maal::boost::MatrixSvd::dampedInverse(), inverse(), pseudoInverse(), and maal::boost::MatrixSvd::pseudoInverse().
|
inlinestaticprotected |
References AUTORESIZE, and matrix.
Referenced by multiply().
|
inlinestaticprotected |
References AUTORESIZE, and matrix.
|
inline |
Access to the boost internal vector.
References matrix.
|
inline |
Access to the boost internal vector.
References matrix.
References _checksize(), MAAL_CHECKVERBOSE, and matrix.
References AUTORESIZE.
|
inline |
References dampedInverse(), matrix, nbCols(), and nbRows().
|
inlinevirtual |
Compute the pseudo-inverse of the matrix.
By default, the function uses the dgesvd_ fortran routine. It should be provided by the host software.
Reimplemented in maal::boost::MatrixSvd, and maal::boost::MatrixSvd.
References _resize(), _resizeInv(), dgesvd_(), matrix, MRAWDATA, nbCols(), nbRows(), and VRAWDATA.
Referenced by dampedInverse().
References _checksizeSquareVerb(), and matrix.
References elementAt(), matrix, and nbRows().
References elementAt(), matrix, and nbRows().
References _checksize(), MAAL_CHECKVERBOSE, and matrix.
References _checksize(), MAAL_CHECKVERBOSE, and matrix.
Referenced by elementAt(), elementAt(), operator()(), and operator()().
|
inline |
References _checksize(), MAAL_CHECKVERBOSE, and matrix.
Referenced by extract().
References matrix.
Referenced by setDiagonal().
References matrix, nbCols(), nbRows(), and maal::boost::Vector::resize().
References getDiagonal(), and matrix.
Referenced by getDiagonal().
|
inline |
Copy the values and data of an existing boost vector.
References matrix.
Compute the inverse of the matrix.
The matrix has to be invertible. By default, the function uses the dgesvd_ fortran routine. It should be provided by the host software (i.e. lapack).
References _resizeInv(), and matrix.
References matrix, and ML_NOT_IMPLEMENTED.
Referenced by juxtaposeMatrix().
References juxtaposeMatrix(), and matrix.
Not implemented yet.
References ML_NOT_IMPLEMENTED.
Not implemented yet.
References ML_NOT_IMPLEMENTED.
References matrix.
References _checksizeProd(), _resizeProd(), MAAL_CHECKVERBOSE, and matrix.
References _checksizeProd(), MAAL_CHECKVERBOSE, and matrix.
Get the number of columns.
References matrix.
Referenced by addition(), addition(), addition(), dampedInverse(), dampedInverse(), division(), division(), getDiagonal(), inverse(), multiply(), pseudoInverse(), pseudoInverse(), resize(), substraction(), substraction(), substraction(), and transpose().
Get the number of rows.
References matrix.
Referenced by addition(), addition(), addition(), dampedInverse(), dampedInverse(), division(), division(), elementAt(), elementAt(), getDiagonal(), inverse(), multiply(), multiply(), multiply(), pseudoInverse(), pseudoInverse(), resize(), substraction(), substraction(), substraction(), and transpose().
Not implemented yet.
References ML_NOT_IMPLEMENTED.
References matrix.
|
inline |
References elementAt(), and matrix.
|
inline |
References elementAt(), and matrix.
|
inline |
References matrix.
|
inline |
References multiply.
|
inline |
References matrix.
|
inline |
References matrix.
|
inline |
References matrix.
Compute the opposite of the matrix -M.
References matrix.
|
inline |
References matrix, nbCols(), nbRows(), and pseudoInverse().
|
inlinevirtual |
Compute the pseudo-inverse of the matrix.
By default, the function uses the dgesvd_ fortran routine. It should be provided by the host software.
Reimplemented in maal::boost::MatrixSvd, and maal::boost::MatrixSvd.
References _resizeInv(), dgesvd_(), matrix, MRAWDATA, nbCols(), nbRows(), and VRAWDATA.
Referenced by pseudoInverse().
References fill(), matrix, and maal::boost::Vector::size().
References matrix, and ML_NOT_IMPLEMENTED.
Referenced by stackMatrix().
References matrix, and stackMatrix().
References matrix, nbCols(), nbRows(), and substraction.
References matrix, nbCols(), nbRows(), and substraction.
References _checksize(), MAAL_CHECKVERBOSE, and matrix.
Not implemented yet.
References ML_NOT_IMPLEMENTED.
References matrix, nbCols(), nbRows(), and transpose().
Referenced by transpose().
Referenced by addition(), and addition().
Referenced by division().
Referenced by multiply(), multiply(), multiply(), and operator*=().
Referenced by substraction(), and substraction().
Referenced by _resize(), _resizeInv(), _resizeProd(), _resizeProd(), and autoresize().
InternalMatrix* maal::boost::Matrix::dynamicMatrix |
Referenced by ~Matrix().
InternalMatrix& maal::boost::Matrix::matrix |
Referenced by _checksize(), _checksize(), _checksizeProd(), _checksizeProd(), _checksizeProdVerb(), _checksizeProdVerb(), _checksizeSquare(), _checksizeSquareVerb(), _checksizeVerb(), _checksizeVerb(), _resize(), _resizeInv(), _resizeProd(), _resizeProd(), accessToMotherLib(), accessToMotherLib(), addition(), addition(), addition(), addition(), dampedInverse(), dampedInverse(), maal::boost::MatrixSvd::dampedInverse(), datablock(), datablock(), determinant(), division(), division(), elementAt(), elementAt(), elementAt(), elementAt(), extract(), extract(), fill(), getDiagonal(), getDiagonal(), initFromMotherLib(), maal::boost::MatrixSvd::initSvdMemory(), inverse(), inverse(), juxtaposeMatrix(), juxtaposeMatrix(), multiply(), multiply(), multiply(), multiply(), multiply(), multiply(), nbCols(), nbRows(), norm1(), normInfty(), operator()(), operator()(), operator()(), operator()(), operator*=(), operator+=(), operator-=(), operator=(), opposite(), opposite(), pseudoInverse(), pseudoInverse(), maal::boost::MatrixSvd::pseudoInverse(), resize(), maal::boost::MatrixSvd::reviseMemory(), setDiagonal(), setIdentity(), setZero(), stackMatrix(), stackMatrix(), substraction(), substraction(), substraction(), substraction(), trace(), transpose(), transpose(), and ~Matrix().
InternalMatrix maal::boost::Matrix::staticMatrix |
Referenced by Matrix().