The main skyline matrix class. More...
#include <SkylineMatrix.h>
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. |
Definition at line 51 of file SkylineMatrix.h.
typedef SkylineMatrix<Scalar, (Flags&~RowMajorBit) | (IsRowMajor ? RowMajorBit : 0) > Eigen::SkylineMatrix< _Scalar, _Options >::TransposedSkylineMatrix [protected] |
Definition at line 62 of file SkylineMatrix.h.
Eigen::SkylineMatrix< _Scalar, _Options >::SkylineMatrix | ( | ) | [inline] |
Definition at line 630 of file SkylineMatrix.h.
Eigen::SkylineMatrix< _Scalar, _Options >::SkylineMatrix | ( | size_t | rows, |
size_t | cols | ||
) | [inline] |
Definition at line 635 of file SkylineMatrix.h.
Eigen::SkylineMatrix< _Scalar, _Options >::SkylineMatrix | ( | const SkylineMatrixBase< OtherDerived > & | other | ) | [inline] |
Definition at line 641 of file SkylineMatrix.h.
Eigen::SkylineMatrix< _Scalar, _Options >::SkylineMatrix | ( | const SkylineMatrix< _Scalar, _Options > & | other | ) | [inline] |
Definition at line 646 of file SkylineMatrix.h.
Eigen::SkylineMatrix< _Scalar, _Options >::~SkylineMatrix | ( | ) | [inline] |
Destructor
Definition at line 725 of file SkylineMatrix.h.
const Scalar* Eigen::SkylineMatrix< _Scalar, _Options >::_diagPtr | ( | ) | const [inline] |
Definition at line 106 of file SkylineMatrix.h.
Scalar* Eigen::SkylineMatrix< _Scalar, _Options >::_diagPtr | ( | ) | [inline] |
Definition at line 110 of file SkylineMatrix.h.
const Index* Eigen::SkylineMatrix< _Scalar, _Options >::_lowerProfilePtr | ( | ) | const [inline] |
Definition at line 138 of file SkylineMatrix.h.
Index* Eigen::SkylineMatrix< _Scalar, _Options >::_lowerProfilePtr | ( | ) | [inline] |
Definition at line 142 of file SkylineMatrix.h.
const Scalar* Eigen::SkylineMatrix< _Scalar, _Options >::_lowerPtr | ( | ) | const [inline] |
Definition at line 122 of file SkylineMatrix.h.
Scalar* Eigen::SkylineMatrix< _Scalar, _Options >::_lowerPtr | ( | ) | [inline] |
Definition at line 126 of file SkylineMatrix.h.
const Index* Eigen::SkylineMatrix< _Scalar, _Options >::_upperProfilePtr | ( | ) | const [inline] |
Definition at line 130 of file SkylineMatrix.h.
Index* Eigen::SkylineMatrix< _Scalar, _Options >::_upperProfilePtr | ( | ) | [inline] |
Definition at line 134 of file SkylineMatrix.h.
const Scalar* Eigen::SkylineMatrix< _Scalar, _Options >::_upperPtr | ( | ) | const [inline] |
Definition at line 114 of file SkylineMatrix.h.
Scalar* Eigen::SkylineMatrix< _Scalar, _Options >::_upperPtr | ( | ) | [inline] |
Definition at line 118 of file SkylineMatrix.h.
Scalar Eigen::SkylineMatrix< _Scalar, _Options >::coeff | ( | Index | row, |
Index | col | ||
) | const [inline] |
Definition at line 146 of file SkylineMatrix.h.
Scalar Eigen::SkylineMatrix< _Scalar, _Options >::coeffDiag | ( | Index | idx | ) | const [inline] |
Definition at line 234 of file SkylineMatrix.h.
bool Eigen::SkylineMatrix< _Scalar, _Options >::coeffExistLower | ( | Index | row, |
Index | col | ||
) | [inline] |
Definition at line 312 of file SkylineMatrix.h.
bool Eigen::SkylineMatrix< _Scalar, _Options >::coeffExistUpper | ( | Index | row, |
Index | col | ||
) | [inline] |
Definition at line 348 of file SkylineMatrix.h.
Scalar Eigen::SkylineMatrix< _Scalar, _Options >::coeffLower | ( | Index | row, |
Index | col | ||
) | const [inline] |
Definition at line 240 of file SkylineMatrix.h.
Scalar& Eigen::SkylineMatrix< _Scalar, _Options >::coeffRef | ( | Index | row, |
Index | col | ||
) | [inline] |
Definition at line 195 of file SkylineMatrix.h.
Scalar& Eigen::SkylineMatrix< _Scalar, _Options >::coeffRefDiag | ( | Index | idx | ) | [inline] |
Definition at line 287 of file SkylineMatrix.h.
Scalar& Eigen::SkylineMatrix< _Scalar, _Options >::coeffRefLower | ( | Index | row, |
Index | col | ||
) | [inline] |
Definition at line 293 of file SkylineMatrix.h.
Scalar& Eigen::SkylineMatrix< _Scalar, _Options >::coeffRefUpper | ( | Index | row, |
Index | col | ||
) | [inline] |
Definition at line 329 of file SkylineMatrix.h.
Scalar Eigen::SkylineMatrix< _Scalar, _Options >::coeffUpper | ( | Index | row, |
Index | col | ||
) | const [inline] |
Definition at line 264 of file SkylineMatrix.h.
Index Eigen::SkylineMatrix< _Scalar, _Options >::cols | ( | void | ) | const [inline] |
Reimplemented from Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >.
Definition at line 78 of file SkylineMatrix.h.
void Eigen::SkylineMatrix< _Scalar, _Options >::finalize | ( | ) | [inline] |
Must be called after inserting a set of non zero entries.
Definition at line 534 of file SkylineMatrix.h.
Index Eigen::SkylineMatrix< _Scalar, _Options >::innerSize | ( | ) | const [inline] |
Reimplemented from Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >.
Definition at line 82 of file SkylineMatrix.h.
EIGEN_DONT_INLINE Scalar& Eigen::SkylineMatrix< _Scalar, _Options >::insert | ( | Index | row, |
Index | col | ||
) | [inline] |
After an insertion session, you should call the finalize() function.
Definition at line 400 of file SkylineMatrix.h.
Index Eigen::SkylineMatrix< _Scalar, _Options >::lowerNonZeros | ( | ) | const [inline] |
Definition at line 94 of file SkylineMatrix.h.
Index Eigen::SkylineMatrix< _Scalar, _Options >::lowerNonZeros | ( | Index | j | ) | const [inline] |
Definition at line 102 of file SkylineMatrix.h.
Index Eigen::SkylineMatrix< _Scalar, _Options >::nonZeros | ( | ) | const [inline] |
Reimplemented from Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >.
Definition at line 383 of file SkylineMatrix.h.
SkylineMatrix& Eigen::SkylineMatrix< _Scalar, _Options >::operator= | ( | const SkylineMatrix< _Scalar, _Options > & | other | ) | [inline] |
Reimplemented from Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >.
Definition at line 660 of file SkylineMatrix.h.
SkylineMatrix& Eigen::SkylineMatrix< _Scalar, _Options >::operator= | ( | const SkylineMatrixBase< OtherDerived > & | other | ) | [inline] |
Reimplemented from Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >.
Definition at line 674 of file SkylineMatrix.h.
Index Eigen::SkylineMatrix< _Scalar, _Options >::outerSize | ( | ) | const [inline] |
Reimplemented from Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >.
Definition at line 86 of file SkylineMatrix.h.
void Eigen::SkylineMatrix< _Scalar, _Options >::prune | ( | Scalar | reference, |
RealScalar | epsilon = dummy_precision<RealScalar > () |
||
) | [inline] |
Definition at line 582 of file SkylineMatrix.h.
void Eigen::SkylineMatrix< _Scalar, _Options >::reserve | ( | Index | reserveSize, |
Index | reserveUpperSize, | ||
Index | reserveLowerSize | ||
) | [inline] |
Preallocates reserveSize non zeros
Definition at line 388 of file SkylineMatrix.h.
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
Definition at line 589 of file SkylineMatrix.h.
void Eigen::SkylineMatrix< _Scalar, _Options >::resizeNonZeros | ( | Index | size | ) | [inline] |
Definition at line 626 of file SkylineMatrix.h.
Index Eigen::SkylineMatrix< _Scalar, _Options >::rows | ( | void | ) | const [inline] |
Reimplemented from Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >.
Definition at line 74 of file SkylineMatrix.h.
void Eigen::SkylineMatrix< _Scalar, _Options >::setZero | ( | ) | [inline] |
Removes all non zeros
Definition at line 376 of file SkylineMatrix.h.
void Eigen::SkylineMatrix< _Scalar, _Options >::squeeze | ( | ) | [inline] |
Definition at line 577 of file SkylineMatrix.h.
Scalar Eigen::SkylineMatrix< _Scalar, _Options >::sum | ( | ) | const |
Overloaded for performance
void Eigen::SkylineMatrix< _Scalar, _Options >::swap | ( | SkylineMatrix< _Scalar, _Options > & | other | ) | [inline] |
Definition at line 651 of file SkylineMatrix.h.
Index Eigen::SkylineMatrix< _Scalar, _Options >::upperNonZeros | ( | ) | const [inline] |
Definition at line 90 of file SkylineMatrix.h.
Index Eigen::SkylineMatrix< _Scalar, _Options >::upperNonZeros | ( | Index | j | ) | const [inline] |
Definition at line 98 of file SkylineMatrix.h.
std::ostream& operator<< | ( | std::ostream & | s, |
const SkylineMatrix< _Scalar, _Options > & | m | ||
) | [friend] |
Definition at line 685 of file SkylineMatrix.h.
Index* Eigen::SkylineMatrix< _Scalar, _Options >::m_colStartIndex |
Definition at line 68 of file SkylineMatrix.h.
SkylineStorage<Scalar> Eigen::SkylineMatrix< _Scalar, _Options >::m_data |
Definition at line 70 of file SkylineMatrix.h.
Index Eigen::SkylineMatrix< _Scalar, _Options >::m_innerSize [protected] |
Definition at line 65 of file SkylineMatrix.h.
Index Eigen::SkylineMatrix< _Scalar, _Options >::m_outerSize [protected] |
Definition at line 64 of file SkylineMatrix.h.
Index* Eigen::SkylineMatrix< _Scalar, _Options >::m_rowStartIndex |
Definition at line 69 of file SkylineMatrix.h.