#include <nmrSVD.h>
Collaboration diagram for nmrSVDFixedSizeData< _rows, _cols, _storageOrder >:

This class is similar to nmrSVDDynamicData except that it is dedicated to fixed size containers. While nmrSVDDynamicData is designed to be modified dynamically, nmrSVDFixedSizeData is fully defined at compilation time using template parameters. The required parameters are the dimension of the input matrix and its storage order:
There is no dynamic memory allocation (no new) and the memory can not be used by reference. To use memory by reference, one must use nmrSVDDynamicData with vctDynamicMatrixRef and vctDynamicVectorRef (these dynamic references can actually be used to overlay a fixed size container).
Definition at line 694 of file nmrSVD.h.
| typedef vctFixedSizeMatrix<CISSTNETLIB_DOUBLE, _rows, _cols, _storageOrder> nmrSVDFixedSizeData< _rows, _cols, _storageOrder >::MatrixTypeA |
| typedef vctFixedSizeMatrix<CISSTNETLIB_DOUBLE, _rows, _rows, _storageOrder> nmrSVDFixedSizeData< _rows, _cols, _storageOrder >::MatrixTypeU |
| typedef vctFixedSizeVector<CISSTNETLIB_DOUBLE, MIN_MN> nmrSVDFixedSizeData< _rows, _cols, _storageOrder >::VectorTypeS |
| typedef vctFixedSizeMatrix<CISSTNETLIB_DOUBLE, _rows, _cols, _storageOrder> nmrSVDFixedSizeData< _rows, _cols, _storageOrder >::MatrixTypeS |
| typedef vctFixedSizeMatrix<CISSTNETLIB_DOUBLE, _cols, _cols, _storageOrder> nmrSVDFixedSizeData< _rows, _cols, _storageOrder >::MatrixTypeVt |
| typedef vctFixedSizeVector<CISSTNETLIB_DOUBLE, LWORK> nmrSVDFixedSizeData< _rows, _cols, _storageOrder >::VectorTypeWorkspace |
| nmrSVDFixedSizeData< _rows, _cols, _storageOrder >::nmrSVDFixedSizeData | ( | ) | [inline] |
| const VectorTypeS& nmrSVDFixedSizeData< _rows, _cols, _storageOrder >::S | ( | void | ) | const [inline] |
Const reference to the result vector S. This method must be called after the data has been computed by the nmrSVD function.
Definition at line 769 of file nmrSVD.h.
References nmrSVDFixedSizeData< _rows, _cols, _storageOrder >::SMember.
Referenced by nmrSVD().
| const MatrixTypeU& nmrSVDFixedSizeData< _rows, _cols, _storageOrder >::U | ( | void | ) | const [inline] |
Const reference to the result matrix U. This method must be called after the data has been computed by the nmrSVD function.
Definition at line 775 of file nmrSVD.h.
References nmrSVDFixedSizeData< _rows, _cols, _storageOrder >::UMember.
Referenced by nmrSVD().
| const MatrixTypeVt& nmrSVDFixedSizeData< _rows, _cols, _storageOrder >::Vt | ( | void | ) | const [inline] |
Const reference to the result matrix Vt (V transposed). This method must be called after the data has been computed by the nmrSVD function.
Definition at line 781 of file nmrSVD.h.
References nmrSVDFixedSizeData< _rows, _cols, _storageOrder >::VtMember.
Referenced by nmrSVD().
| static MatrixTypeS& nmrSVDFixedSizeData< _rows, _cols, _storageOrder >::UpdateMatrixS | ( | const VectorTypeS & | vectorS, | |
| MatrixTypeS & | matrixS | |||
| ) | [inline, static] |
Fill a matrix from the singular values. Sets all the elements to zero and then replace the diagonal by the singular values (provided by vectorS).
Definition at line 788 of file nmrSVD.h.
References vctFixedSizeMatrixBase< _rows, _cols, _rowStride, _colStride, _elementType, _dataPtrType >::Diagonal(), and vctFixedSizeMatrixBase< _rows, _cols, _rowStride, _colStride, _elementType, _dataPtrType >::SetAll().
MatrixTypeU nmrSVDFixedSizeData< _rows, _cols, _storageOrder >::UMember [protected] |
Data member used to store the output matrix U.
Definition at line 727 of file nmrSVD.h.
Referenced by nmrSVDFixedSizeData< _rows, _cols, _storageOrder >::U().
MatrixTypeVt nmrSVDFixedSizeData< _rows, _cols, _storageOrder >::VtMember [protected] |
Data member used to store the output matrix Vt.
Definition at line 728 of file nmrSVD.h.
Referenced by nmrSVDFixedSizeData< _rows, _cols, _storageOrder >::Vt().
VectorTypeS nmrSVDFixedSizeData< _rows, _cols, _storageOrder >::SMember [protected] |
Data member used to store the output vector S.
Definition at line 729 of file nmrSVD.h.
Referenced by nmrSVDFixedSizeData< _rows, _cols, _storageOrder >::S().
VectorTypeWorkspace nmrSVDFixedSizeData< _rows, _cols, _storageOrder >::WorkspaceMember [protected] |