![]() |
Eigen-unsupported
3.3.3
|
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. |
Public Member Functions | |
Index | cols () const |
void | finalize () |
Index | innerSize () const |
EIGEN_DONT_INLINE Scalar & | insert (Index row, Index col) |
Index | nonZeros () const |
Index | outerSize () const |
void | reserve (Index reserveSize, Index reserveUpperSize, Index reserveLowerSize) |
void | resize (size_t rows, size_t cols) |
Index | rows () const |
void | setZero () |
Scalar | sum () const |
~SkylineMatrix () |
Eigen::SkylineMatrix< _Scalar, _Options >::~SkylineMatrix | ( | ) | [inline] |
Destructor
Index Eigen::SkylineMatrix< _Scalar, _Options >::cols | ( | ) | const [inline] |
Reimplemented from Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >.
void Eigen::SkylineMatrix< _Scalar, _Options >::finalize | ( | ) | [inline] |
Must be called after inserting a set of non zero entries.
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.
Index Eigen::SkylineMatrix< _Scalar, _Options >::nonZeros | ( | ) | const [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 >::reserve | ( | Index | reserveSize, |
Index | reserveUpperSize, | ||
Index | reserveLowerSize | ||
) | [inline] |
Preallocates reserveSize non zeros
void Eigen::SkylineMatrix< _Scalar, _Options >::resize | ( | size_t | rows, |
size_t | cols | ||
) | [inline] |
Index Eigen::SkylineMatrix< _Scalar, _Options >::rows | ( | ) | const [inline] |
Reimplemented from Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > >.
void Eigen::SkylineMatrix< _Scalar, _Options >::setZero | ( | ) | [inline] |
Removes all non zeros
Scalar Eigen::SkylineMatrix< _Scalar, _Options >::sum | ( | ) | const |
Overloaded for performance