![]() |
Eigen-unsupported
3.2.7
|
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 | |
const internal::eval < SkylineMatrix< _Scalar, _Options >, IsSkyline >::type | eval () const |
void | finalize () |
EIGEN_DONT_INLINE Scalar & | insert (Index row, Index col) |
Index | nonZeros () const |
void | reserve (Index reserveSize, Index reserveUpperSize, Index reserveLowerSize) |
void | resize (size_t rows, size_t cols) |
void | setZero () |
Index | size () const |
Scalar | sum () const |
~SkylineMatrix () | |
|
inline |
Destructor
|
inlineinherited |
Notice that in the case of a plain matrix or vector (not an expression) this function just returns a const reference, in order to avoid a useless copy.
|
inline |
Must be called after inserting a set of non zero entries.
|
inline |
After an insertion session, you should call the finalize() function.
|
inline |
|
inline |
Preallocates reserveSize non zeros
|
inline |
|
inline |
Removes all non zeros
|
inlineinherited |
References SkylineMatrixBase< Derived >::cols(), and SkylineMatrixBase< Derived >::rows().
Scalar sum | ( | ) | const |
Overloaded for performance