The main skyline matrix class.
This class implements a skyline matrix using the very uncommon storage scheme.
| _Scalar | the scalar type, i.e. the type of the coefficients |
| _Options | Union of bit flags controlling the storage scheme. Currently the only possibility is RowMajor. The default is 0 which means column-major. |

Classes | |
| class | InnerLowerIterator |
| class | InnerUpperIterator |
Public Types | |
| enum | |
| enum | |
| typedef internal::traits < SkylineMatrix< _Scalar, _Options > >::Scalar | Scalar |
| typedef internal::traits < SkylineMatrix< _Scalar, _Options > >::Scalar | Scalar |
| typedef internal::traits < SkylineMatrix< _Scalar, _Options > >::StorageKind | StorageKind |
| typedef internal::traits < SkylineMatrix< _Scalar, _Options > >::StorageKind | StorageKind |
| typedef internal::index < StorageKind >::type | Index |
| typedef internal::index < StorageKind >::type | Index |
Public Member Functions | |
| Index | rows () const |
| Index | cols () const |
| Index | innerSize () const |
| Index | outerSize () const |
| Index | upperNonZeros () const |
| Index | lowerNonZeros () const |
| Index | upperNonZeros (Index j) const |
| Index | lowerNonZeros (Index j) const |
| const Scalar * | _diagPtr () const |
| Scalar * | _diagPtr () |
| const Scalar * | _upperPtr () const |
| Scalar * | _upperPtr () |
| const Scalar * | _lowerPtr () const |
| Scalar * | _lowerPtr () |
| const Index * | _upperProfilePtr () const |
| Index * | _upperProfilePtr () |
| const Index * | _lowerProfilePtr () const |
| Index * | _lowerProfilePtr () |
| Scalar | coeff (Index row, Index col) const |
| Scalar & | coeffRef (Index row, Index col) |
| Scalar | coeffDiag (Index idx) const |
| Scalar | coeffLower (Index row, Index col) const |
| Scalar | coeffUpper (Index row, Index col) const |
| Scalar & | coeffRefDiag (Index idx) |
| Scalar & | coeffRefLower (Index row, Index col) |
| bool | coeffExistLower (Index row, Index col) |
| Scalar & | coeffRefUpper (Index row, Index col) |
| bool | coeffExistUpper (Index row, Index col) |
| void | setZero () |
| Removes all non zeros. | |
| Index | nonZeros () const |
| void | reserve (Index reserveSize, Index reserveUpperSize, Index reserveLowerSize) |
| Preallocates reserveSize non zeros. | |
| EIGEN_DONT_INLINE Scalar & | insert (Index row, Index col) |
| void | finalize () |
| Must be called after inserting a set of non zero entries. | |
| void | squeeze () |
| void | prune (Scalar reference, RealScalar epsilon=dummy_precision< RealScalar >()) |
| void | resize (size_t rows, size_t cols) |
| Resizes the matrix to a rows x cols matrix and initializes it to zero. | |
| void | resizeNonZeros (Index size) |
| SkylineMatrix () | |
| SkylineMatrix (size_t rows, size_t cols) | |
| template<typename OtherDerived > | |
| SkylineMatrix (const SkylineMatrixBase< OtherDerived > &other) | |
| SkylineMatrix (const SkylineMatrix &other) | |
| void | swap (SkylineMatrix &other) |
| SkylineMatrix & | operator= (const SkylineMatrix &other) |
| template<typename OtherDerived > | |
| SkylineMatrix & | operator= (const SkylineMatrixBase< OtherDerived > &other) |
| ~SkylineMatrix () | |
| Destructor. | |
| Scalar | sum () const |
| Overloaded for performance. | |
| Index | size () const |
| Index | size () const |
| bool | isRValue () const |
| bool | isRValue () const |
| SkylineMatrix< _Scalar, _Options > & | markAsRValue () |
| SkylineMatrix< _Scalar, _Options > & | markAsRValue () |
| void | assignGeneric (const OtherDerived &other) |
| void | assignGeneric (const OtherDerived &other) |
| const SkylineProductReturnType < SkylineMatrix< _Scalar, _Options >, OtherDerived > ::Type | operator* (const MatrixBase< OtherDerived > &other) const |
| const SkylineProductReturnType < SkylineMatrix< _Scalar, _Options >, OtherDerived > ::Type | operator* (const MatrixBase< OtherDerived > &other) const |
| void | evalTo (MatrixBase< DenseDerived > &dst) const |
| void | evalTo (MatrixBase< DenseDerived > &dst) const |
| void | evalTo (Dest &dst) const |
| Matrix< Scalar, RowsAtCompileTime, ColsAtCompileTime > | toDense () const |
| Matrix< Scalar, RowsAtCompileTime, ColsAtCompileTime > | toDense () const |
| EIGEN_STRONG_INLINE const internal::eval< SkylineMatrix < _Scalar, _Options > , IsSkyline >::type | eval () const |
| EIGEN_STRONG_INLINE const internal::eval< SkylineMatrix < _Scalar, _Options > , IsSkyline >::type | eval () const |
| SkylineMatrix< _Scalar, _Options > & | derived () |
| const SkylineMatrix< _Scalar, _Options > & | derived () const |
| SkylineMatrix< _Scalar, _Options > & | const_cast_derived () const |
| const SkylineMatrix< _Scalar, _Options > & | const_derived () const |
| void | addTo (Dest &dst) const |
| void | subTo (Dest &dst) const |
| void | applyThisOnTheRight (Dest &dst) const |
| void | applyThisOnTheLeft (Dest &dst) const |
Public Attributes | |
| Index * | m_colStartIndex |
| Index * | m_rowStartIndex |
| SkylineStorage< Scalar > | m_data |
Protected Types | |
| typedef SkylineMatrix< Scalar,(Flags &~RowMajorBit)|(IsRowMajor?RowMajorBit:0) > | TransposedSkylineMatrix |
Protected Attributes | |
| Index | m_outerSize |
| Index | m_innerSize |
| bool | m_isRValue |
Friends | |
| std::ostream & | operator<< (std::ostream &s, const SkylineMatrix &m) |
| std::ostream & | operator<< (std::ostream &s, const SkylineMatrixBase &m) |
typedef internal::index<StorageKind>::type Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >::Index [inherited] |
Reimplemented from Eigen::EigenBase< SkylineMatrix< _Scalar, _Options > >.
typedef internal::index<StorageKind>::type Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >::Index [inherited] |
Reimplemented from Eigen::EigenBase< SkylineMatrix< _Scalar, _Options > >.
typedef internal::traits<SkylineMatrix< _Scalar, _Options > >::Scalar Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >::Scalar [inherited] |
typedef internal::traits<SkylineMatrix< _Scalar, _Options > >::Scalar Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >::Scalar [inherited] |
typedef internal::traits<SkylineMatrix< _Scalar, _Options > >::StorageKind Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >::StorageKind [inherited] |
Reimplemented from Eigen::EigenBase< SkylineMatrix< _Scalar, _Options > >.
typedef internal::traits<SkylineMatrix< _Scalar, _Options > >::StorageKind Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >::StorageKind [inherited] |
Reimplemented from Eigen::EigenBase< SkylineMatrix< _Scalar, _Options > >.
typedef SkylineMatrix<Scalar, (Flags&~RowMajorBit) | (IsRowMajor ? RowMajorBit : 0) > Eigen::SkylineMatrix< _Scalar, _Options >::TransposedSkylineMatrix [protected] |
| Eigen::SkylineMatrix< _Scalar, _Options >::SkylineMatrix | ( | ) | [inline] |
| Eigen::SkylineMatrix< _Scalar, _Options >::SkylineMatrix | ( | size_t | rows, |
| size_t | cols | ||
| ) | [inline] |
| Eigen::SkylineMatrix< _Scalar, _Options >::SkylineMatrix | ( | const SkylineMatrixBase< OtherDerived > & | other | ) | [inline] |
| Eigen::SkylineMatrix< _Scalar, _Options >::SkylineMatrix | ( | const SkylineMatrix< _Scalar, _Options > & | other | ) | [inline] |
| Eigen::SkylineMatrix< _Scalar, _Options >::~SkylineMatrix | ( | ) | [inline] |
| const Scalar* Eigen::SkylineMatrix< _Scalar, _Options >::_diagPtr | ( | ) | const [inline] |
| Scalar* Eigen::SkylineMatrix< _Scalar, _Options >::_diagPtr | ( | ) | [inline] |
| const Index* Eigen::SkylineMatrix< _Scalar, _Options >::_lowerProfilePtr | ( | ) | const [inline] |
| Index* Eigen::SkylineMatrix< _Scalar, _Options >::_lowerProfilePtr | ( | ) | [inline] |
| const Scalar* Eigen::SkylineMatrix< _Scalar, _Options >::_lowerPtr | ( | ) | const [inline] |
| Scalar* Eigen::SkylineMatrix< _Scalar, _Options >::_lowerPtr | ( | ) | [inline] |
| Index* Eigen::SkylineMatrix< _Scalar, _Options >::_upperProfilePtr | ( | ) | [inline] |
| const Index* Eigen::SkylineMatrix< _Scalar, _Options >::_upperProfilePtr | ( | ) | const [inline] |
| const Scalar* Eigen::SkylineMatrix< _Scalar, _Options >::_upperPtr | ( | ) | const [inline] |
| Scalar* Eigen::SkylineMatrix< _Scalar, _Options >::_upperPtr | ( | ) | [inline] |
| void Eigen::EigenBase< SkylineMatrix< _Scalar, _Options > >::addTo | ( | Dest & | dst | ) | const [inline, inherited] |
| void Eigen::EigenBase< SkylineMatrix< _Scalar, _Options > >::applyThisOnTheLeft | ( | Dest & | dst | ) | const [inline, inherited] |
| void Eigen::EigenBase< SkylineMatrix< _Scalar, _Options > >::applyThisOnTheRight | ( | Dest & | dst | ) | const [inline, inherited] |
| void Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >::assignGeneric | ( | const OtherDerived & | other | ) | [inline, inherited] |
| void Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >::assignGeneric | ( | const OtherDerived & | other | ) | [inline, inherited] |
| Scalar Eigen::SkylineMatrix< _Scalar, _Options >::coeff | ( | Index | row, |
| Index | col | ||
| ) | const [inline] |
| Scalar Eigen::SkylineMatrix< _Scalar, _Options >::coeffDiag | ( | Index | idx | ) | const [inline] |
| bool Eigen::SkylineMatrix< _Scalar, _Options >::coeffExistLower | ( | Index | row, |
| Index | col | ||
| ) | [inline] |
| bool Eigen::SkylineMatrix< _Scalar, _Options >::coeffExistUpper | ( | Index | row, |
| Index | col | ||
| ) | [inline] |
| Scalar Eigen::SkylineMatrix< _Scalar, _Options >::coeffLower | ( | Index | row, |
| Index | col | ||
| ) | const [inline] |
| Scalar& Eigen::SkylineMatrix< _Scalar, _Options >::coeffRef | ( | Index | row, |
| Index | col | ||
| ) | [inline] |
| Scalar& Eigen::SkylineMatrix< _Scalar, _Options >::coeffRefDiag | ( | Index | idx | ) | [inline] |
| Scalar& Eigen::SkylineMatrix< _Scalar, _Options >::coeffRefLower | ( | Index | row, |
| Index | col | ||
| ) | [inline] |
| Scalar& Eigen::SkylineMatrix< _Scalar, _Options >::coeffRefUpper | ( | Index | row, |
| Index | col | ||
| ) | [inline] |
| Scalar Eigen::SkylineMatrix< _Scalar, _Options >::coeffUpper | ( | Index | row, |
| Index | col | ||
| ) | const [inline] |
| Index Eigen::SkylineMatrix< _Scalar, _Options >::cols | ( | void | ) | const [inline] |
Reimplemented from Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >.
| SkylineMatrix< _Scalar, _Options > & Eigen::EigenBase< SkylineMatrix< _Scalar, _Options > >::const_cast_derived | ( | ) | const [inline, inherited] |
| const SkylineMatrix< _Scalar, _Options > & Eigen::EigenBase< SkylineMatrix< _Scalar, _Options > >::const_derived | ( | ) | const [inline, inherited] |
| SkylineMatrix< _Scalar, _Options > & Eigen::EigenBase< SkylineMatrix< _Scalar, _Options > >::derived | ( | ) | [inline, inherited] |
| const SkylineMatrix< _Scalar, _Options > & Eigen::EigenBase< SkylineMatrix< _Scalar, _Options > >::derived | ( | ) | const [inline, inherited] |
| EIGEN_STRONG_INLINE const internal::eval<SkylineMatrix< _Scalar, _Options > , IsSkyline>::type Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >::eval | ( | ) | const [inline, inherited] |
| EIGEN_STRONG_INLINE const internal::eval<SkylineMatrix< _Scalar, _Options > , IsSkyline>::type Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >::eval | ( | ) | const [inline, inherited] |
| void Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >::evalTo | ( | MatrixBase< DenseDerived > & | dst | ) | const [inline, inherited] |
| void Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >::evalTo | ( | MatrixBase< DenseDerived > & | dst | ) | const [inline, inherited] |
| void Eigen::EigenBase< SkylineMatrix< _Scalar, _Options > >::evalTo | ( | Dest & | dst | ) | const [inline, inherited] |
| void Eigen::SkylineMatrix< _Scalar, _Options >::finalize | ( | ) | [inline] |
| Index Eigen::SkylineMatrix< _Scalar, _Options >::innerSize | ( | ) | const [inline] |
Reimplemented from Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >.
| EIGEN_DONT_INLINE Scalar& Eigen::SkylineMatrix< _Scalar, _Options >::insert | ( | Index | row, |
| Index | col | ||
| ) | [inline] |
After an insertion session, you should call the finalize() function.
| bool Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >::isRValue | ( | ) | const [inline, inherited] |
| bool Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >::isRValue | ( | ) | const [inline, inherited] |
| Index Eigen::SkylineMatrix< _Scalar, _Options >::lowerNonZeros | ( | Index | j | ) | const [inline] |
| Index Eigen::SkylineMatrix< _Scalar, _Options >::lowerNonZeros | ( | ) | const [inline] |
| SkylineMatrix< _Scalar, _Options > & Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >::markAsRValue | ( | ) | [inline, inherited] |
| SkylineMatrix< _Scalar, _Options > & Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >::markAsRValue | ( | ) | [inline, inherited] |
| Index Eigen::SkylineMatrix< _Scalar, _Options >::nonZeros | ( | ) | const [inline] |
Reimplemented from Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >.
| const SkylineProductReturnType<SkylineMatrix< _Scalar, _Options > , OtherDerived>::Type Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >::operator* | ( | const MatrixBase< OtherDerived > & | other | ) | const [inherited] |
| const SkylineProductReturnType<SkylineMatrix< _Scalar, _Options > , OtherDerived>::Type Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >::operator* | ( | const MatrixBase< OtherDerived > & | other | ) | const [inherited] |
| SkylineMatrix& Eigen::SkylineMatrix< _Scalar, _Options >::operator= | ( | const SkylineMatrix< _Scalar, _Options > & | other | ) | [inline] |
Reimplemented from Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >.
| SkylineMatrix& Eigen::SkylineMatrix< _Scalar, _Options >::operator= | ( | const SkylineMatrixBase< OtherDerived > & | other | ) | [inline] |
Reimplemented from Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >.
| Index Eigen::SkylineMatrix< _Scalar, _Options >::outerSize | ( | ) | const [inline] |
Reimplemented from Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >.
| void Eigen::SkylineMatrix< _Scalar, _Options >::prune | ( | Scalar | reference, |
| RealScalar | epsilon = dummy_precision<RealScalar > () |
||
| ) | [inline] |
| void Eigen::SkylineMatrix< _Scalar, _Options >::reserve | ( | Index | reserveSize, |
| Index | reserveUpperSize, | ||
| Index | reserveLowerSize | ||
| ) | [inline] |
| void Eigen::SkylineMatrix< _Scalar, _Options >::resize | ( | size_t | rows, |
| size_t | cols | ||
| ) | [inline] |
Resizes the matrix to a rows x cols matrix and initializes it to zero.
| void Eigen::SkylineMatrix< _Scalar, _Options >::resizeNonZeros | ( | Index | size | ) | [inline] |
| Index Eigen::SkylineMatrix< _Scalar, _Options >::rows | ( | void | ) | const [inline] |
Reimplemented from Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >.
| void Eigen::SkylineMatrix< _Scalar, _Options >::setZero | ( | ) | [inline] |
| Index Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >::size | ( | ) | const [inline, inherited] |
Reimplemented from Eigen::EigenBase< SkylineMatrix< _Scalar, _Options > >.
| Index Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >::size | ( | ) | const [inline, inherited] |
Reimplemented from Eigen::EigenBase< SkylineMatrix< _Scalar, _Options > >.
| void Eigen::SkylineMatrix< _Scalar, _Options >::squeeze | ( | ) | [inline] |
| void Eigen::EigenBase< SkylineMatrix< _Scalar, _Options > >::subTo | ( | Dest & | dst | ) | const [inline, inherited] |
| Scalar Eigen::SkylineMatrix< _Scalar, _Options >::sum | ( | ) | const |
Overloaded for performance.
| void Eigen::SkylineMatrix< _Scalar, _Options >::swap | ( | SkylineMatrix< _Scalar, _Options > & | other | ) | [inline] |
| Matrix<Scalar, RowsAtCompileTime, ColsAtCompileTime> Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >::toDense | ( | ) | const [inline, inherited] |
| Matrix<Scalar, RowsAtCompileTime, ColsAtCompileTime> Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >::toDense | ( | ) | const [inline, inherited] |
| Index Eigen::SkylineMatrix< _Scalar, _Options >::upperNonZeros | ( | ) | const [inline] |
| Index Eigen::SkylineMatrix< _Scalar, _Options >::upperNonZeros | ( | Index | j | ) | const [inline] |
| std::ostream& operator<< | ( | std::ostream & | s, |
| const SkylineMatrix< _Scalar, _Options > & | m | ||
| ) | [friend] |
| std::ostream& operator<< | ( | std::ostream & | s, |
| const SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > > & | m | ||
| ) | [friend, inherited] |
| Index* Eigen::SkylineMatrix< _Scalar, _Options >::m_colStartIndex |
| SkylineStorage<Scalar> Eigen::SkylineMatrix< _Scalar, _Options >::m_data |
Index Eigen::SkylineMatrix< _Scalar, _Options >::m_innerSize [protected] |
bool Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >::m_isRValue [protected, inherited] |
Index Eigen::SkylineMatrix< _Scalar, _Options >::m_outerSize [protected] |
| Index* Eigen::SkylineMatrix< _Scalar, _Options >::m_rowStartIndex |
| Page generated by Doxygen 1.7.4 for MRPT 0.9.5 SVN:2717 at Sun Oct 16 16:08:03 PDT 2011 | Hosted on: |