Eigen::SkylineMatrix
template<typename _Scalar, int _Options>
class Eigen::SkylineMatrix< _Scalar, _Options >
The main skyline matrix class.
This class implements a skyline matrix using the very uncommon storage scheme.
- Parameters
-
_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. |
~SkylineMatrix()
template<typename _Scalar , int _Options>
finalize()
template<typename _Scalar , int _Options>
Must be called after inserting a set of non zero entries.
insert()
template<typename _Scalar , int _Options>
- Returns
- a reference to a novel non zero coefficient with coordinates row x col.
- Warning
- This function can be extremely slow if the non zero coefficients are not inserted in a coherent order.
After an insertion session, you should call the finalize() function.
nonZeros()
template<typename _Scalar , int _Options>
- Returns
- the number of non zero coefficients
reserve()
template<typename _Scalar , int _Options>
Preallocates reserveSize non zeros
resize()
template<typename _Scalar , int _Options>
Resizes the matrix to a rows x cols matrix and initializes it to zero
- See also
- resizeNonZeros(Index), reserve(), setZero()
setZero()
template<typename _Scalar , int _Options>
sum()
template<typename _Scalar , int _Options>
Overloaded for performance
The documentation for this class was generated from the following file: