The main skyline matrix class. More...
#include <SkylineMatrix.h>
Classes | |
class | InnerLowerIterator |
class | InnerUpperIterator |
Public Member Functions | |
const Scalar * | _diagPtr () const |
Scalar * | _diagPtr () |
const Index * | _lowerProfilePtr () const |
Index * | _lowerProfilePtr () |
const Scalar * | _lowerPtr () const |
Scalar * | _lowerPtr () |
const Index * | _upperProfilePtr () const |
Index * | _upperProfilePtr () |
const Scalar * | _upperPtr () const |
Scalar * | _upperPtr () |
Scalar | coeff (Index row, Index col) const |
Scalar | coeffDiag (Index idx) const |
bool | coeffExistLower (Index row, Index col) |
bool | coeffExistUpper (Index row, Index col) |
Scalar | coeffLower (Index row, Index col) const |
Scalar & | coeffRef (Index row, Index col) |
Scalar & | coeffRefDiag (Index idx) |
Scalar & | coeffRefLower (Index row, Index col) |
Scalar & | coeffRefUpper (Index row, Index col) |
Scalar | coeffUpper (Index row, Index col) const |
Index | cols () const |
void | finalize () |
Index | innerSize () const |
EIGEN_DONT_INLINE Scalar & | insert (Index row, Index col) |
Index | lowerNonZeros () const |
Index | lowerNonZeros (Index j) const |
Index | nonZeros () const |
SkylineMatrix & | operator= (const SkylineMatrix &other) |
template<typename OtherDerived > | |
SkylineMatrix & | operator= (const SkylineMatrixBase< OtherDerived > &other) |
Index | outerSize () const |
void | prune (Scalar reference, RealScalar epsilon=dummy_precision< RealScalar >()) |
void | reserve (Index reserveSize, Index reserveUpperSize, Index reserveLowerSize) |
void | resize (size_t rows, size_t cols) |
void | resizeNonZeros (Index size) |
Index | rows () const |
void | setZero () |
SkylineMatrix () | |
SkylineMatrix (size_t rows, size_t cols) | |
template<typename OtherDerived > | |
SkylineMatrix (const SkylineMatrixBase< OtherDerived > &other) | |
SkylineMatrix (const SkylineMatrix &other) | |
void | squeeze () |
Scalar | sum () const |
void | swap (SkylineMatrix &other) |
Index | upperNonZeros () const |
Index | upperNonZeros (Index j) const |
~SkylineMatrix () | |
Public Member Functions inherited from Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > > | |
void | assignGeneric (const OtherDerived &other) |
Index | cols () const |
SkylineMatrix< _Scalar, _Options > & | const_cast_derived () const |
const SkylineMatrix< _Scalar, _Options > & | derived () const |
SkylineMatrix< _Scalar, _Options > & | derived () |
EIGEN_STRONG_INLINE const internal::eval< SkylineMatrix< _Scalar, _Options >, IsSkyline >::type | eval () const |
void | evalTo (MatrixBase< DenseDerived > &dst) const |
Index | innerSize () const |
bool | isRValue () const |
SkylineMatrix< _Scalar, _Options > & | markAsRValue () |
Index | nonZeros () const |
const SkylineProductReturnType< SkylineMatrix< _Scalar, _Options >, OtherDerived >::Type | operator* (const MatrixBase< OtherDerived > &other) const |
SkylineMatrix< _Scalar, _Options > & | operator= (const SkylineMatrix< _Scalar, _Options > &other) |
SkylineMatrix< _Scalar, _Options > & | operator= (const SkylineMatrixBase< OtherDerived > &other) |
SkylineMatrix< _Scalar, _Options > & | operator= (const SkylineProduct< Lhs, Rhs, SkylineTimeSkylineProduct > &product) |
Index | outerSize () const |
Index | rows () const |
Index | size () const |
SkylineMatrixBase () | |
Matrix< Scalar, RowsAtCompileTime, ColsAtCompileTime > | toDense () const |
Public Member Functions inherited from Eigen::EigenBase< Derived > | |
template<typename Dest > | |
void | addTo (Dest &dst) const |
template<typename Dest > | |
void | applyThisOnTheLeft (Dest &dst) const |
template<typename Dest > | |
void | applyThisOnTheRight (Dest &dst) const |
Index | cols () const |
Derived & | const_cast_derived () const |
const Derived & | const_derived () const |
Derived & | derived () |
const Derived & | derived () const |
template<typename Dest > | |
void | evalTo (Dest &dst) const |
Index | rows () const |
Index | size () const |
template<typename Dest > | |
void | subTo (Dest &dst) const |
Public Attributes | |
Index * | m_colStartIndex |
SkylineStorage< Scalar > | m_data |
Index * | m_rowStartIndex |
Protected Types | |
typedef SkylineMatrix< Scalar,(Flags &~RowMajorBit)|(IsRowMajor?RowMajorBit:0) > | TransposedSkylineMatrix |
Protected Attributes | |
Index | m_innerSize |
Index | m_outerSize |
Protected Attributes inherited from Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > > | |
bool | m_isRValue |
Friends | |
std::ostream & | operator<< (std::ostream &s, const SkylineMatrix &m) |
Additional Inherited Members | |
Public Types inherited from Eigen::SkylineMatrixBase< SkylineMatrix< _Scalar, _Options > > | |
enum | |
typedef internal::index< StorageKind >::type | Index |
typedef NumTraits< Scalar >::Real | RealScalar |
typedef internal::traits< SkylineMatrix< _Scalar, _Options > >::Scalar | Scalar |
typedef Matrix< Scalar, EIGEN_SIZE_MAX(RowsAtCompileTime, ColsAtCompileTime), EIGEN_SIZE_MAX(RowsAtCompileTime, ColsAtCompileTime) > | SquareMatrixType |
typedef internal::traits< SkylineMatrix< _Scalar, _Options > >::StorageKind | StorageKind |
Public Types inherited from Eigen::EigenBase< Derived > | |
typedef internal::traits< Derived >::Index | Index |
typedef internal::traits< Derived >::StorageKind | StorageKind |
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.
|
protected |
Definition at line 62 of file SkylineMatrix.h.
|
inline |
Definition at line 630 of file SkylineMatrix.h.
|
inline |
Definition at line 635 of file SkylineMatrix.h.
|
inline |
Definition at line 641 of file SkylineMatrix.h.
|
inline |
Definition at line 646 of file SkylineMatrix.h.
|
inline |
Destructor
Definition at line 725 of file SkylineMatrix.h.
|
inline |
Definition at line 106 of file SkylineMatrix.h.
|
inline |
Definition at line 110 of file SkylineMatrix.h.
|
inline |
Definition at line 138 of file SkylineMatrix.h.
|
inline |
Definition at line 142 of file SkylineMatrix.h.
|
inline |
Definition at line 122 of file SkylineMatrix.h.
|
inline |
Definition at line 126 of file SkylineMatrix.h.
|
inline |
Definition at line 130 of file SkylineMatrix.h.
|
inline |
Definition at line 134 of file SkylineMatrix.h.
|
inline |
Definition at line 114 of file SkylineMatrix.h.
|
inline |
Definition at line 118 of file SkylineMatrix.h.
|
inline |
Definition at line 146 of file SkylineMatrix.h.
|
inline |
Definition at line 234 of file SkylineMatrix.h.
|
inline |
Definition at line 312 of file SkylineMatrix.h.
|
inline |
Definition at line 348 of file SkylineMatrix.h.
|
inline |
Definition at line 240 of file SkylineMatrix.h.
|
inline |
Definition at line 195 of file SkylineMatrix.h.
|
inline |
Definition at line 287 of file SkylineMatrix.h.
|
inline |
Definition at line 293 of file SkylineMatrix.h.
|
inline |
Definition at line 329 of file SkylineMatrix.h.
|
inline |
Definition at line 264 of file SkylineMatrix.h.
|
inline |
Definition at line 78 of file SkylineMatrix.h.
|
inline |
Must be called after inserting a set of non zero entries.
Definition at line 534 of file SkylineMatrix.h.
|
inline |
Definition at line 82 of file SkylineMatrix.h.
|
inline |
After an insertion session, you should call the finalize() function.
Definition at line 400 of file SkylineMatrix.h.
|
inline |
Definition at line 94 of file SkylineMatrix.h.
|
inline |
Definition at line 102 of file SkylineMatrix.h.
|
inline |
Definition at line 383 of file SkylineMatrix.h.
|
inline |
Definition at line 660 of file SkylineMatrix.h.
|
inline |
Definition at line 674 of file SkylineMatrix.h.
|
inline |
Definition at line 86 of file SkylineMatrix.h.
|
inline |
Definition at line 582 of file SkylineMatrix.h.
|
inline |
Preallocates reserveSize non zeros
Definition at line 388 of file SkylineMatrix.h.
|
inline |
Resizes the matrix to a rows x cols matrix and initializes it to zero
Definition at line 589 of file SkylineMatrix.h.
|
inline |
Definition at line 626 of file SkylineMatrix.h.
|
inline |
Definition at line 74 of file SkylineMatrix.h.
|
inline |
Removes all non zeros
Definition at line 376 of file SkylineMatrix.h.
|
inline |
Definition at line 577 of file SkylineMatrix.h.
Scalar Eigen::SkylineMatrix< _Scalar, _Options >::sum | ( | ) | const |
Overloaded for performance
|
inline |
Definition at line 651 of file SkylineMatrix.h.
|
inline |
Definition at line 90 of file SkylineMatrix.h.
|
inline |
Definition at line 98 of file SkylineMatrix.h.
|
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.
|
protected |
Definition at line 65 of file SkylineMatrix.h.
|
protected |
Definition at line 64 of file SkylineMatrix.h.
Index* Eigen::SkylineMatrix< _Scalar, _Options >::m_rowStartIndex |
Definition at line 69 of file SkylineMatrix.h.