Common base class for sparse [compressed]-{row|column}-storage format. More...
#include <SparseCompressedBase.h>
Classes | |
class | InnerIterator |
class | ReverseInnerIterator |
Public Types | |
typedef SparseMatrixBase< Derived > | Base |
Public Member Functions | |
Map< Array< Scalar, Dynamic, 1 > > | coeffs () |
const Map< const Array< Scalar, Dynamic, 1 > > | coeffs () const |
StorageIndex * | innerIndexPtr () |
const StorageIndex * | innerIndexPtr () const |
StorageIndex * | innerNonZeroPtr () |
const StorageIndex * | innerNonZeroPtr () const |
bool | isCompressed () const |
Index | nonZeros () const |
Derived & | operator= (const Derived &other) |
template<typename Derived > | |
Derived & | operator= (const Derived &other) |
template<typename OtherDerived > | |
Derived & | operator= (const EigenBase< OtherDerived > &other) |
template<typename OtherDerived > | |
Derived & | operator= (const ReturnByValue< OtherDerived > &other) |
template<typename OtherDerived > | |
Derived & | operator= (const SparseMatrixBase< OtherDerived > &other) |
StorageIndex * | outerIndexPtr () |
const StorageIndex * | outerIndexPtr () const |
Scalar * | valuePtr () |
const Scalar * | valuePtr () const |
Protected Types | |
typedef Base::IndexVector | IndexVector |
Protected Member Functions | |
Eigen::Map< IndexVector > | innerNonZeros () |
const Eigen::Map< const IndexVector > | innerNonZeros () const |
internal::LowerBoundIndex | lower_bound (Index row, Index col) const |
SparseCompressedBase () | |
Private Member Functions | |
template<typename OtherDerived > | |
SparseCompressedBase (const SparseCompressedBase< OtherDerived > &) | |
Friends | |
struct | internal::evaluator< SparseCompressedBase< Derived > > |
Common base class for sparse [compressed]-{row|column}-storage format.
This class defines the common interface for all derived classes implementing the compressed sparse storage format, such as:
Definition at line 15 of file SparseCompressedBase.h.
typedef SparseMatrixBase<Derived> Eigen::SparseCompressedBase::Base |
Definition at line 40 of file SparseCompressedBase.h.
|
protected |
Definition at line 46 of file SparseCompressedBase.h.
|
inlineprotected |
Default constructor. Do nothing.
Definition at line 130 of file SparseCompressedBase.h.
|
explicitprivate |
Here is an example:
and the output is:
Definition at line 126 of file SparseCompressedBase.h.
Definition at line 114 of file SparseCompressedBase.h.
|
inline |
Definition at line 84 of file SparseCompressedBase.h.
|
inline |
Definition at line 80 of file SparseCompressedBase.h.
|
inline |
Definition at line 104 of file SparseCompressedBase.h.
|
inline |
Definition at line 100 of file SparseCompressedBase.h.
|
inlineprotected |
Definition at line 50 of file SparseCompressedBase.h.
|
inlineprotected |
Definition at line 51 of file SparseCompressedBase.h.
|
inline |
*this
is in compressed form. Definition at line 107 of file SparseCompressedBase.h.
|
inlineprotected |
Definition at line 135 of file SparseCompressedBase.h.
|
inline |
Definition at line 56 of file SparseCompressedBase.h.
|
inline |
|
inline |
Definition at line 43 of file SparseAssign.h.
Derived & Eigen::SparseMatrixBase::operator= | ( | typename OtherDerived | ) |
Definition at line 17 of file SparseAssign.h.
Derived & Eigen::SparseMatrixBase::operator= | ( | typename OtherDerived | ) |
Definition at line 25 of file SparseAssign.h.
|
inline |
Definition at line 34 of file SparseAssign.h.
|
inline |
Definition at line 95 of file SparseCompressedBase.h.
|
inline |
Definition at line 90 of file SparseCompressedBase.h.
|
inline |
Definition at line 75 of file SparseCompressedBase.h.
|
inline |
Definition at line 71 of file SparseCompressedBase.h.
|
friend |
Definition at line 151 of file SparseCompressedBase.h.