A sparse matrix container for square symmetrical content around the main diagonal.
This class saves half of the space with respect to CSparseMatrixTemplate since only those entries (c,r) such as c>=r are really stored, but both (c,r) and (r,c) can be retrieved or set and both redirect to the same internal cell container.
Definition at line 354 of file CSparseMatrixTemplate.h.
#include <mrpt/math/CSparseMatrixTemplate.h>

Public Member Functions | |
| CSparseSymmetricalMatrix () | |
| CSparseSymmetricalMatrix (const CSparseSymmetricalMatrix &o) | |
| CSparseSymmetricalMatrix (const CSparseMatrixTemplate< T > &o) | |
| virtual | ~CSparseSymmetricalMatrix () |
| void | resize (size_t matrixSize) |
| T | operator() (size_t r, size_t c) const |
| Element access operator. | |
| T & | operator() (size_t r, size_t c) |
| Reference access operator. | |
| mrpt::math::CSparseSymmetricalMatrix< T >::CSparseSymmetricalMatrix | ( | ) | [inline] |
Definition at line 356 of file CSparseMatrixTemplate.h.
| mrpt::math::CSparseSymmetricalMatrix< T >::CSparseSymmetricalMatrix | ( | const CSparseSymmetricalMatrix< T > & | o ) | [inline, explicit] |
Definition at line 357 of file CSparseMatrixTemplate.h.
| mrpt::math::CSparseSymmetricalMatrix< T >::CSparseSymmetricalMatrix | ( | const CSparseMatrixTemplate< T > & | o ) | [inline, explicit] |
Definition at line 358 of file CSparseMatrixTemplate.h.
| virtual mrpt::math::CSparseSymmetricalMatrix< T >::~CSparseSymmetricalMatrix | ( | ) | [inline, virtual] |
Definition at line 359 of file CSparseMatrixTemplate.h.
| T mrpt::math::CSparseSymmetricalMatrix< T >::operator() | ( | size_t | r, |
| size_t | c | ||
| ) | const [inline] |
Element access operator.
Doesn't check bounds.
Reimplemented from mrpt::math::CSparseMatrixTemplate< T >.
Definition at line 365 of file CSparseMatrixTemplate.h.
References end().
| T& mrpt::math::CSparseSymmetricalMatrix< T >::operator() | ( | size_t | r, |
| size_t | c | ||
| ) | [inline] |
Reference access operator.
Checks for bounds.
Reimplemented from mrpt::math::CSparseMatrixTemplate< T >.
Definition at line 371 of file CSparseMatrixTemplate.h.
| void mrpt::math::CSparseSymmetricalMatrix< T >::resize | ( | size_t | matrixSize ) | [inline] |
Definition at line 361 of file CSparseMatrixTemplate.h.
| Page generated by Doxygen 1.7.2 for MRPT 0.9.4 SVN: at Mon Jan 10 22:30:30 UTC 2011 |