Sparse matrix.
| _Scalar | the scalar type, i.e. the type of the coefficients |
See http://www.netlib.org/linalg/html_templates/node91.html for details on the storage scheme.

Classes | |
| class | InnerIterator |
Public Types | |
| enum | |
| typedef internal::traits < MappedSparseMatrix< _Scalar, _Flags, _Index > >::Scalar | Scalar |
| typedef internal::packet_traits < Scalar >::type | PacketScalar |
| typedef internal::traits < MappedSparseMatrix< _Scalar, _Flags, _Index > >::StorageKind | StorageKind |
| typedef internal::traits < MappedSparseMatrix< _Scalar, _Flags, _Index > >::Index | Index |
| typedef SparseMatrixBase | StorageBaseType |
| typedef EigenBase < MappedSparseMatrix< _Scalar, _Flags, _Index > > | Base |
| typedef internal::conditional < NumTraits< Scalar > ::IsComplex, CwiseUnaryOp < internal::scalar_conjugate_op < Scalar >, Eigen::Transpose < const MappedSparseMatrix < _Scalar, _Flags, _Index > > >, Transpose< const MappedSparseMatrix< _Scalar, _Flags, _Index > > >::type | AdjointReturnType |
| typedef SparseMatrix< Scalar, Flags &RowMajorBit?RowMajor:ColMajor > | PlainObject |
Public Member Functions | |
| Index | rows () const |
| Index | cols () const |
| Index | innerSize () const |
| Index | outerSize () const |
| Index | innerNonZeros (Index j) const |
| const Scalar * | _valuePtr () const |
| Scalar * | _valuePtr () |
| const Index * | _innerIndexPtr () const |
| Index * | _innerIndexPtr () |
| const Index * | _outerIndexPtr () const |
| Index * | _outerIndexPtr () |
| Scalar | coeff (Index row, Index col) const |
| Scalar & | coeffRef (Index row, Index col) |
| Index | nonZeros () const |
| MappedSparseMatrix (Index rows, Index cols, Index nnz, Index *outerIndexPtr, Index *innerIndexPtr, Scalar *valuePtr) | |
| ~MappedSparseMatrix () | |
| Empty destructor. | |
| const CwiseUnaryOp < internal::scalar_opposite_op < typename internal::traits < MappedSparseMatrix< _Scalar, _Flags, _Index > >::Scalar > , const MappedSparseMatrix < _Scalar, _Flags, _Index > > | operator- () const |
| const ScalarMultipleReturnType | operator* (const Scalar &scalar) const |
| const ScalarMultipleReturnType | operator* (const RealScalar &scalar) const |
| const CwiseUnaryOp < internal::scalar_multiple2_op < Scalar, std::complex< Scalar > >, const MappedSparseMatrix < _Scalar, _Flags, _Index > > | operator* (const std::complex< Scalar > &scalar) const |
| Overloaded for efficient real matrix times complex scalar value. | |
| const SparseSparseProductReturnType < MappedSparseMatrix< _Scalar, _Flags, _Index >, OtherDerived > ::Type | operator* (const SparseMatrixBase< OtherDerived > &other) const |
| const SparseDiagonalProduct < MappedSparseMatrix< _Scalar, _Flags, _Index >, OtherDerived > | operator* (const DiagonalBase< OtherDerived > &other) const |
| const SparseDenseProductReturnType < MappedSparseMatrix< _Scalar, _Flags, _Index >, OtherDerived > ::Type | operator* (const MatrixBase< OtherDerived > &other) const |
| sparse * dense (returns a dense object unless it is an outer product) | |
| const CwiseUnaryOp < internal::scalar_quotient1_op < typename internal::traits < MappedSparseMatrix< _Scalar, _Flags, _Index > >::Scalar > , const MappedSparseMatrix < _Scalar, _Flags, _Index > > | operator/ (const Scalar &scalar) const |
| internal::cast_return_type < MappedSparseMatrix< _Scalar, _Flags, _Index >, const CwiseUnaryOp < internal::scalar_cast_op < typename internal::traits < MappedSparseMatrix< _Scalar, _Flags, _Index > >::Scalar, NewType >, const MappedSparseMatrix< _Scalar, _Flags, _Index > > >::type | cast () const |
| ConjugateReturnType | conjugate () const |
| RealReturnType | real () const |
| NonConstRealReturnType | real () |
| const ImagReturnType | imag () const |
| NonConstImagReturnType | imag () |
| const CwiseUnaryOp < CustomUnaryOp, const MappedSparseMatrix< _Scalar, _Flags, _Index > > | unaryExpr (const CustomUnaryOp &func=CustomUnaryOp()) const |
| Apply a unary operator coefficient-wise. | |
| const CwiseUnaryView < CustomViewOp, const MappedSparseMatrix< _Scalar, _Flags, _Index > > | unaryViewExpr (const CustomViewOp &func=CustomViewOp()) const |
| EIGEN_STRONG_INLINE const CwiseBinaryOp< CustomBinaryOp, const MappedSparseMatrix < _Scalar, _Flags, _Index > , const OtherDerived > | binaryExpr (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other, const CustomBinaryOp &func=CustomBinaryOp()) const |
| EIGEN_STRONG_INLINE const CwiseUnaryOp < internal::scalar_abs_op < Scalar >, const MappedSparseMatrix< _Scalar, _Flags, _Index > > | cwiseAbs () const |
| EIGEN_STRONG_INLINE const CwiseUnaryOp < internal::scalar_abs2_op < Scalar >, const MappedSparseMatrix< _Scalar, _Flags, _Index > > | cwiseAbs2 () const |
| const CwiseUnaryOp < internal::scalar_sqrt_op < Scalar >, const MappedSparseMatrix< _Scalar, _Flags, _Index > > | cwiseSqrt () const |
| const CwiseUnaryOp < internal::scalar_inverse_op < Scalar >, const MappedSparseMatrix< _Scalar, _Flags, _Index > > | cwiseInverse () const |
| const CwiseUnaryOp < std::binder1st < std::equal_to< Scalar > >, const MappedSparseMatrix < _Scalar, _Flags, _Index > > | cwiseEqual (const Scalar &s) const |
| const CwiseBinaryOp < std::equal_to< Scalar > , const MappedSparseMatrix < _Scalar, _Flags, _Index > , const OtherDerived > | cwiseEqual (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
| EIGEN_STRONG_INLINE const | EIGEN_CWISE_PRODUCT_RETURN_TYPE (MappedSparseMatrix< _Scalar, _Flags, _Index >, OtherDerived) cwiseProduct(const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
| const CwiseBinaryOp < std::not_equal_to< Scalar > , const MappedSparseMatrix < _Scalar, _Flags, _Index > , const OtherDerived > | cwiseNotEqual (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
| EIGEN_STRONG_INLINE const CwiseBinaryOp < internal::scalar_min_op < Scalar >, const MappedSparseMatrix< _Scalar, _Flags, _Index >, const OtherDerived > | cwiseMin (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
| EIGEN_STRONG_INLINE const CwiseBinaryOp < internal::scalar_max_op < Scalar >, const MappedSparseMatrix< _Scalar, _Flags, _Index >, const OtherDerived > | cwiseMax (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
| EIGEN_STRONG_INLINE const CwiseBinaryOp < internal::scalar_quotient_op < Scalar >, const MappedSparseMatrix< _Scalar, _Flags, _Index >, const OtherDerived > | cwiseQuotient (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
| Index | size () const |
| bool | isVector () const |
| bool | isRValue () const |
| MappedSparseMatrix< _Scalar, _Flags, _Index > & | markAsRValue () |
| void | assignGeneric (const OtherDerived &other) |
| void | _experimentalNewProduct (const Lhs &lhs, const Rhs &rhs) |
| MappedSparseMatrix< _Scalar, _Flags, _Index > & | operator+= (const SparseMatrixBase< OtherDerived > &other) |
| MappedSparseMatrix< _Scalar, _Flags, _Index > & | operator-= (const SparseMatrixBase< OtherDerived > &other) |
| MappedSparseMatrix< _Scalar, _Flags, _Index > & | operator*= (const Scalar &other) |
| MappedSparseMatrix< _Scalar, _Flags, _Index > & | operator*= (const SparseMatrixBase< OtherDerived > &other) |
| MappedSparseMatrix< _Scalar, _Flags, _Index > & | operator/= (const Scalar &other) |
| EIGEN_STRONG_INLINE const EIGEN_SPARSE_CWISE_PRODUCT_RETURN_TYPE | cwiseProduct (const MatrixBase< OtherDerived > &other) const |
| const SparseTriangularView < MappedSparseMatrix< _Scalar, _Flags, _Index >, Mode > | triangularView () const |
| const SparseSelfAdjointView < MappedSparseMatrix< _Scalar, _Flags, _Index >, UpLo > | selfadjointView () const |
| SparseSelfAdjointView < MappedSparseMatrix< _Scalar, _Flags, _Index >, UpLo > | selfadjointView () |
| Scalar | dot (const MatrixBase< OtherDerived > &other) const |
| Scalar | dot (const SparseMatrixBase< OtherDerived > &other) const |
| RealScalar | squaredNorm () const |
| RealScalar | norm () const |
| Transpose< MappedSparseMatrix < _Scalar, _Flags, _Index > > | transpose () |
| const Transpose< const MappedSparseMatrix< _Scalar, _Flags, _Index > > | transpose () const |
| const AdjointReturnType | adjoint () const |
| SparseInnerVectorSet < MappedSparseMatrix< _Scalar, _Flags, _Index >, 1 > | row (Index i) |
| const SparseInnerVectorSet < MappedSparseMatrix< _Scalar, _Flags, _Index >, 1 > | row (Index i) const |
| SparseInnerVectorSet < MappedSparseMatrix< _Scalar, _Flags, _Index >, 1 > | col (Index j) |
| const SparseInnerVectorSet < MappedSparseMatrix< _Scalar, _Flags, _Index >, 1 > | col (Index j) const |
| SparseInnerVectorSet < MappedSparseMatrix< _Scalar, _Flags, _Index >, 1 > | innerVector (Index outer) |
| const SparseInnerVectorSet < MappedSparseMatrix< _Scalar, _Flags, _Index >, 1 > | innerVector (Index outer) const |
| SparseInnerVectorSet < MappedSparseMatrix< _Scalar, _Flags, _Index >, Dynamic > | subrows (Index start, Index size) |
| const SparseInnerVectorSet < MappedSparseMatrix< _Scalar, _Flags, _Index >, Dynamic > | subrows (Index start, Index size) const |
| SparseInnerVectorSet < MappedSparseMatrix< _Scalar, _Flags, _Index >, Dynamic > | subcols (Index start, Index size) |
| const SparseInnerVectorSet < MappedSparseMatrix< _Scalar, _Flags, _Index >, Dynamic > | subcols (Index start, Index size) const |
| SparseInnerVectorSet < MappedSparseMatrix< _Scalar, _Flags, _Index >, Dynamic > | innerVectors (Index outerStart, Index outerSize) |
| const SparseInnerVectorSet < MappedSparseMatrix< _Scalar, _Flags, _Index >, Dynamic > | innerVectors (Index outerStart, Index outerSize) const |
| void | evalTo (MatrixBase< DenseDerived > &dst) const |
| void | evalTo (Dest &dst) const |
| Matrix< Scalar, RowsAtCompileTime, ColsAtCompileTime > | toDense () const |
| bool | isApprox (const SparseMatrixBase< OtherDerived > &other, RealScalar prec=NumTraits< Scalar >::dummy_precision()) const |
| bool | isApprox (const MatrixBase< OtherDerived > &other, RealScalar prec=NumTraits< Scalar >::dummy_precision()) const |
| const internal::eval < MappedSparseMatrix< _Scalar, _Flags, _Index > >::type | eval () const |
| Scalar | sum () const |
| MappedSparseMatrix< _Scalar, _Flags, _Index > & | derived () |
| const MappedSparseMatrix < _Scalar, _Flags, _Index > & | derived () const |
| MappedSparseMatrix< _Scalar, _Flags, _Index > & | const_cast_derived () const |
| const MappedSparseMatrix < _Scalar, _Flags, _Index > & | const_derived () const |
| void | addTo (Dest &dst) const |
| void | subTo (Dest &dst) const |
| void | applyThisOnTheRight (Dest &dst) const |
| void | applyThisOnTheLeft (Dest &dst) const |
Protected Types | |
| enum | { IsRowMajor = Base::IsRowMajor } |
Protected Attributes | |
| Index | m_outerSize |
| Index | m_innerSize |
| Index | m_nnz |
| Index * | m_outerIndex |
| Index * | m_innerIndices |
| Scalar * | m_values |
| bool | m_isRValue |
Friends | |
| const ScalarMultipleReturnType | operator* (const Scalar &scalar, const StorageBaseType &matrix) |
| const CwiseUnaryOp < internal::scalar_multiple2_op < Scalar, std::complex< Scalar > >, const MappedSparseMatrix < _Scalar, _Flags, _Index > > | operator* (const std::complex< Scalar > &scalar, const StorageBaseType &matrix) |
| const SparseDiagonalProduct < OtherDerived, MappedSparseMatrix< _Scalar, _Flags, _Index > > | operator* (const DiagonalBase< OtherDerived > &lhs, const SparseMatrixBase &rhs) |
| const DenseSparseProductReturnType < OtherDerived, MappedSparseMatrix< _Scalar, _Flags, _Index > >::Type | operator* (const MatrixBase< OtherDerived > &lhs, const MappedSparseMatrix< _Scalar, _Flags, _Index > &rhs) |
| dense * sparse (return a dense object unless it is an outer product) | |
| std::ostream & | operator<< (std::ostream &s, const SparseMatrixBase &m) |
typedef internal::conditional<NumTraits<Scalar>::IsComplex, CwiseUnaryOp<internal::scalar_conjugate_op<Scalar>, Eigen::Transpose<const MappedSparseMatrix< _Scalar, _Flags, _Index > > >, Transpose<const MappedSparseMatrix< _Scalar, _Flags, _Index > > >::type Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::AdjointReturnType [inherited] |
typedef EigenBase<MappedSparseMatrix< _Scalar, _Flags, _Index > > Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::Base [inherited] |
typedef internal::traits<MappedSparseMatrix< _Scalar, _Flags, _Index > >::Index Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::Index [inherited] |
Reimplemented from Eigen::EigenBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >.
typedef internal::packet_traits<Scalar>::type Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::PacketScalar [inherited] |
typedef SparseMatrix<Scalar, Flags&RowMajorBit ? RowMajor : ColMajor> Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::PlainObject [inherited] |
typedef internal::traits<MappedSparseMatrix< _Scalar, _Flags, _Index > >::Scalar Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::Scalar [inherited] |
typedef SparseMatrixBase Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::StorageBaseType [inherited] |
typedef internal::traits<MappedSparseMatrix< _Scalar, _Flags, _Index > >::StorageKind Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::StorageKind [inherited] |
Reimplemented from Eigen::EigenBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >.
anonymous enum [protected] |
| Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::MappedSparseMatrix | ( | Index | rows, |
| Index | cols, | ||
| Index | nnz, | ||
| Index * | outerIndexPtr, | ||
| Index * | innerIndexPtr, | ||
| Scalar * | valuePtr | ||
| ) | [inline] |
| Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::~MappedSparseMatrix | ( | ) | [inline] |
| void Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::_experimentalNewProduct | ( | const Lhs & | lhs, |
| const Rhs & | rhs | ||
| ) | [inline, inherited] |
| Index* Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::_innerIndexPtr | ( | ) | [inline] |
| const Index* Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::_innerIndexPtr | ( | ) | const [inline] |
| const Index* Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::_outerIndexPtr | ( | ) | const [inline] |
| Index* Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::_outerIndexPtr | ( | ) | [inline] |
| const Scalar* Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::_valuePtr | ( | ) | const [inline] |
| Scalar* Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::_valuePtr | ( | ) | [inline] |
| void Eigen::EigenBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::addTo | ( | Dest & | dst | ) | const [inline, inherited] |
| const AdjointReturnType Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::adjoint | ( | ) | const [inline, inherited] |
| void Eigen::EigenBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::applyThisOnTheLeft | ( | Dest & | dst | ) | const [inline, inherited] |
| void Eigen::EigenBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::applyThisOnTheRight | ( | Dest & | dst | ) | const [inline, inherited] |
| void Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::assignGeneric | ( | const OtherDerived & | other | ) | [inline, inherited] |
| EIGEN_STRONG_INLINE const CwiseBinaryOp<CustomBinaryOp, const MappedSparseMatrix< _Scalar, _Flags, _Index > , const OtherDerived> Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::binaryExpr | ( | const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > & | other, |
| const CustomBinaryOp & | func = CustomBinaryOp() |
||
| ) | const [inline, inherited] |
*this and other *this and other The template parameter CustomBinaryOp is the type of the functor of the custom operator (see class CwiseBinaryOp for an example)
Here is an example illustrating the use of custom functors:
Output:
| internal::cast_return_type<MappedSparseMatrix< _Scalar, _Flags, _Index > ,const CwiseUnaryOp<internal::scalar_cast_op<typename internal::traits<MappedSparseMatrix< _Scalar, _Flags, _Index > >::Scalar, NewType>, const MappedSparseMatrix< _Scalar, _Flags, _Index > > >::type Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::cast | ( | ) | const [inline, inherited] |
| Scalar Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::coeff | ( | Index | row, |
| Index | col | ||
| ) | const [inline] |
| Scalar& Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::coeffRef | ( | Index | row, |
| Index | col | ||
| ) | [inline] |
| SparseInnerVectorSet<MappedSparseMatrix< _Scalar, _Flags, _Index > ,1> Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::col | ( | Index | j | ) | [inherited] |
*this. For column-major matrix only. | const SparseInnerVectorSet<MappedSparseMatrix< _Scalar, _Flags, _Index > ,1> Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::col | ( | Index | j | ) | const [inherited] |
*this. For column-major matrix only. (read-only version) | Index Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::cols | ( | void | ) | const [inline] |
Reimplemented from Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >.
| ConjugateReturnType Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::conjugate | ( | ) | const [inline, inherited] |
| MappedSparseMatrix< _Scalar, _Flags, _Index > & Eigen::EigenBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::const_cast_derived | ( | ) | const [inline, inherited] |
| const MappedSparseMatrix< _Scalar, _Flags, _Index > & Eigen::EigenBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::const_derived | ( | ) | const [inline, inherited] |
| EIGEN_STRONG_INLINE const CwiseUnaryOp<internal::scalar_abs_op<Scalar>, const MappedSparseMatrix< _Scalar, _Flags, _Index > > Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::cwiseAbs | ( | ) | const [inline, inherited] |
| EIGEN_STRONG_INLINE const CwiseUnaryOp<internal::scalar_abs2_op<Scalar>, const MappedSparseMatrix< _Scalar, _Flags, _Index > > Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::cwiseAbs2 | ( | ) | const [inline, inherited] |
| const CwiseUnaryOp<std::binder1st<std::equal_to<Scalar> >, const MappedSparseMatrix< _Scalar, _Flags, _Index > > Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::cwiseEqual | ( | const Scalar & | s | ) | const [inline, inherited] |
*this and a scalar s | const CwiseBinaryOp<std::equal_to<Scalar>, const MappedSparseMatrix< _Scalar, _Flags, _Index > , const OtherDerived> Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::cwiseEqual | ( | const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > & | other | ) | const [inline, inherited] |
Example:
Output:
| const CwiseUnaryOp<internal::scalar_inverse_op<Scalar>, const MappedSparseMatrix< _Scalar, _Flags, _Index > > Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::cwiseInverse | ( | ) | const [inline, inherited] |
| EIGEN_STRONG_INLINE const CwiseBinaryOp<internal::scalar_max_op<Scalar>, const MappedSparseMatrix< _Scalar, _Flags, _Index > , const OtherDerived> Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::cwiseMax | ( | const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > & | other | ) | const [inline, inherited] |
| EIGEN_STRONG_INLINE const CwiseBinaryOp<internal::scalar_min_op<Scalar>, const MappedSparseMatrix< _Scalar, _Flags, _Index > , const OtherDerived> Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::cwiseMin | ( | const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > & | other | ) | const [inline, inherited] |
| const CwiseBinaryOp<std::not_equal_to<Scalar>, const MappedSparseMatrix< _Scalar, _Flags, _Index > , const OtherDerived> Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::cwiseNotEqual | ( | const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > & | other | ) | const [inline, inherited] |
Example:
Output:
| EIGEN_STRONG_INLINE const EIGEN_SPARSE_CWISE_PRODUCT_RETURN_TYPE Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::cwiseProduct | ( | const MatrixBase< OtherDerived > & | other | ) | const [inherited] |
| EIGEN_STRONG_INLINE const CwiseBinaryOp<internal::scalar_quotient_op<Scalar>, const MappedSparseMatrix< _Scalar, _Flags, _Index > , const OtherDerived> Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::cwiseQuotient | ( | const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > & | other | ) | const [inline, inherited] |
| const CwiseUnaryOp<internal::scalar_sqrt_op<Scalar>, const MappedSparseMatrix< _Scalar, _Flags, _Index > > Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::cwiseSqrt | ( | ) | const [inline, inherited] |
| const MappedSparseMatrix< _Scalar, _Flags, _Index > & Eigen::EigenBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::derived | ( | ) | const [inline, inherited] |
| MappedSparseMatrix< _Scalar, _Flags, _Index > & Eigen::EigenBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::derived | ( | ) | [inline, inherited] |
| Scalar Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::dot | ( | const MatrixBase< OtherDerived > & | other | ) | const [inherited] |
| Scalar Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::dot | ( | const SparseMatrixBase< OtherDerived > & | other | ) | const [inherited] |
| EIGEN_STRONG_INLINE const Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::EIGEN_CWISE_PRODUCT_RETURN_TYPE | ( | MappedSparseMatrix< _Scalar, _Flags, _Index > | , |
| OtherDerived | |||
| ) | const [inline, inherited] |
| const internal::eval<MappedSparseMatrix< _Scalar, _Flags, _Index > >::type Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::eval | ( | ) | const [inline, inherited] |
| void Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::evalTo | ( | MatrixBase< DenseDerived > & | dst | ) | const [inline, inherited] |
| void Eigen::EigenBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::evalTo | ( | Dest & | dst | ) | const [inline, inherited] |
| const ImagReturnType Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::imag | ( | ) | const [inline, inherited] |
| NonConstImagReturnType Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::imag | ( | ) | [inline, inherited] |
| Index Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::innerNonZeros | ( | Index | j | ) | const [inline] |
| Index Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::innerSize | ( | ) | const [inline] |
Reimplemented from Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >.
| const SparseInnerVectorSet<MappedSparseMatrix< _Scalar, _Flags, _Index > ,1> Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::innerVector | ( | Index | outer | ) | const [inherited] |
*this if *this is col-major (resp. row-major). Read-only. | SparseInnerVectorSet<MappedSparseMatrix< _Scalar, _Flags, _Index > ,1> Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::innerVector | ( | Index | outer | ) | [inherited] |
*this if *this is col-major (resp. row-major). | SparseInnerVectorSet<MappedSparseMatrix< _Scalar, _Flags, _Index > ,Dynamic> Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::innerVectors | ( | Index | outerStart, |
| Index | outerSize | ||
| ) | [inherited] |
*this if *this is col-major (resp. row-major). | const SparseInnerVectorSet<MappedSparseMatrix< _Scalar, _Flags, _Index > ,Dynamic> Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::innerVectors | ( | Index | outerStart, |
| Index | outerSize | ||
| ) | const [inherited] |
*this if *this is col-major (resp. row-major). Read-only. | bool Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::isApprox | ( | const SparseMatrixBase< OtherDerived > & | other, |
| RealScalar | prec = NumTraits<Scalar>::dummy_precision() |
||
| ) | const [inline, inherited] |
| bool Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::isApprox | ( | const MatrixBase< OtherDerived > & | other, |
| RealScalar | prec = NumTraits<Scalar>::dummy_precision() |
||
| ) | const [inline, inherited] |
| bool Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::isRValue | ( | ) | const [inline, inherited] |
| bool Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::isVector | ( | ) | const [inline, inherited] |
| MappedSparseMatrix< _Scalar, _Flags, _Index > & Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::markAsRValue | ( | ) | [inline, inherited] |
| Index Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::nonZeros | ( | ) | const [inline] |
Reimplemented from Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >.
| RealScalar Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::norm | ( | ) | const [inherited] |
| const SparseDenseProductReturnType<MappedSparseMatrix< _Scalar, _Flags, _Index > ,OtherDerived>::Type Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::operator* | ( | const MatrixBase< OtherDerived > & | other | ) | const [inherited] |
sparse * dense (returns a dense object unless it is an outer product)
| const SparseSparseProductReturnType<MappedSparseMatrix< _Scalar, _Flags, _Index > ,OtherDerived>::Type Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::operator* | ( | const SparseMatrixBase< OtherDerived > & | other | ) | const [inherited] |
| const ScalarMultipleReturnType Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::operator* | ( | const Scalar & | scalar | ) | const [inline, inherited] |
| const ScalarMultipleReturnType Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::operator* | ( | const RealScalar & | scalar | ) | const [inherited] |
| const CwiseUnaryOp<internal::scalar_multiple2_op<Scalar,std::complex<Scalar> >, const MappedSparseMatrix< _Scalar, _Flags, _Index > > Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::operator* | ( | const std::complex< Scalar > & | scalar | ) | const [inline, inherited] |
| const SparseDiagonalProduct<MappedSparseMatrix< _Scalar, _Flags, _Index > ,OtherDerived> Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::operator* | ( | const DiagonalBase< OtherDerived > & | other | ) | const [inherited] |
| MappedSparseMatrix< _Scalar, _Flags, _Index > & Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::operator*= | ( | const Scalar & | other | ) | [inherited] |
| MappedSparseMatrix< _Scalar, _Flags, _Index > & Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::operator*= | ( | const SparseMatrixBase< OtherDerived > & | other | ) | [inherited] |
| MappedSparseMatrix< _Scalar, _Flags, _Index > & Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::operator+= | ( | const SparseMatrixBase< OtherDerived > & | other | ) | [inherited] |
| const CwiseUnaryOp<internal::scalar_opposite_op<typename internal::traits<MappedSparseMatrix< _Scalar, _Flags, _Index > >::Scalar>, const MappedSparseMatrix< _Scalar, _Flags, _Index > > Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::operator- | ( | ) | const [inline, inherited] |
| MappedSparseMatrix< _Scalar, _Flags, _Index > & Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::operator-= | ( | const SparseMatrixBase< OtherDerived > & | other | ) | [inherited] |
| const CwiseUnaryOp<internal::scalar_quotient1_op<typename internal::traits<MappedSparseMatrix< _Scalar, _Flags, _Index > >::Scalar>, const MappedSparseMatrix< _Scalar, _Flags, _Index > > Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::operator/ | ( | const Scalar & | scalar | ) | const [inline, inherited] |
| MappedSparseMatrix< _Scalar, _Flags, _Index > & Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::operator/= | ( | const Scalar & | other | ) | [inherited] |
| Index Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::outerSize | ( | ) | const [inline] |
Reimplemented from Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >.
| NonConstRealReturnType Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::real | ( | ) | [inline, inherited] |
| RealReturnType Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::real | ( | ) | const [inline, inherited] |
| SparseInnerVectorSet<MappedSparseMatrix< _Scalar, _Flags, _Index > ,1> Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::row | ( | Index | i | ) | [inherited] |
*this. For row-major matrix only. | const SparseInnerVectorSet<MappedSparseMatrix< _Scalar, _Flags, _Index > ,1> Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::row | ( | Index | i | ) | const [inherited] |
*this. For row-major matrix only. (read-only version) | Index Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::rows | ( | void | ) | const [inline] |
Reimplemented from Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >.
| const SparseSelfAdjointView<MappedSparseMatrix< _Scalar, _Flags, _Index > , UpLo> Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::selfadjointView | ( | ) | const [inline, inherited] |
| SparseSelfAdjointView<MappedSparseMatrix< _Scalar, _Flags, _Index > , UpLo> Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::selfadjointView | ( | ) | [inline, inherited] |
| Index Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::size | ( | ) | const [inline, inherited] |
Reimplemented from Eigen::EigenBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >.
| RealScalar Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::squaredNorm | ( | ) | const [inherited] |
| const SparseInnerVectorSet<MappedSparseMatrix< _Scalar, _Flags, _Index > ,Dynamic> Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::subcols | ( | Index | start, |
| Index | size | ||
| ) | const [inherited] |
*this. For column-major matrix only. (read-only version) | SparseInnerVectorSet<MappedSparseMatrix< _Scalar, _Flags, _Index > ,Dynamic> Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::subcols | ( | Index | start, |
| Index | size | ||
| ) | [inherited] |
*this. For column-major matrix only. | const SparseInnerVectorSet<MappedSparseMatrix< _Scalar, _Flags, _Index > ,Dynamic> Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::subrows | ( | Index | start, |
| Index | size | ||
| ) | const [inherited] |
*this. For row-major matrix only. (read-only version) | SparseInnerVectorSet<MappedSparseMatrix< _Scalar, _Flags, _Index > ,Dynamic> Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::subrows | ( | Index | start, |
| Index | size | ||
| ) | [inherited] |
*this. For row-major matrix only. | void Eigen::EigenBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::subTo | ( | Dest & | dst | ) | const [inline, inherited] |
| Scalar Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::sum | ( | ) | const [inherited] |
| Matrix<Scalar,RowsAtCompileTime,ColsAtCompileTime> Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::toDense | ( | ) | const [inline, inherited] |
| const Transpose<const MappedSparseMatrix< _Scalar, _Flags, _Index > > Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::transpose | ( | ) | const [inline, inherited] |
| Transpose<MappedSparseMatrix< _Scalar, _Flags, _Index > > Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::transpose | ( | ) | [inline, inherited] |
| const SparseTriangularView<MappedSparseMatrix< _Scalar, _Flags, _Index > , Mode> Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::triangularView | ( | ) | const [inline, inherited] |
| const CwiseUnaryOp<CustomUnaryOp, const MappedSparseMatrix< _Scalar, _Flags, _Index > > Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::unaryExpr | ( | const CustomUnaryOp & | func = CustomUnaryOp() | ) | const [inline, inherited] |
Apply a unary operator coefficient-wise.
| [in] | func | Functor implementing the unary operator |
| CustomUnaryOp | Type of func |
The function ptr_fun() from the C++ standard library can be used to make functors out of normal functions.
Example:
Output:
Genuine functors allow for more possibilities, for instance it may contain a state.
Example:
Output:
| const CwiseUnaryView<CustomViewOp, const MappedSparseMatrix< _Scalar, _Flags, _Index > > Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::unaryViewExpr | ( | const CustomViewOp & | func = CustomViewOp() | ) | const [inline, inherited] |
| const ScalarMultipleReturnType operator* | ( | const Scalar & | scalar, |
| const StorageBaseType & | matrix | ||
| ) | [friend, inherited] |
| const CwiseUnaryOp<internal::scalar_multiple2_op<Scalar,std::complex<Scalar> >, const MappedSparseMatrix< _Scalar, _Flags, _Index > > operator* | ( | const std::complex< Scalar > & | scalar, |
| const StorageBaseType & | matrix | ||
| ) | [friend, inherited] |
| const DenseSparseProductReturnType<OtherDerived,MappedSparseMatrix< _Scalar, _Flags, _Index > >::Type operator* | ( | const MatrixBase< OtherDerived > & | lhs, |
| const MappedSparseMatrix< _Scalar, _Flags, _Index > & | rhs | ||
| ) | [friend, inherited] |
| const SparseDiagonalProduct<OtherDerived,MappedSparseMatrix< _Scalar, _Flags, _Index > > operator* | ( | const DiagonalBase< OtherDerived > & | lhs, |
| const SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > > & | rhs | ||
| ) | [friend, inherited] |
| std::ostream& operator<< | ( | std::ostream & | s, |
| const SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > > & | m | ||
| ) | [friend, inherited] |
Index* Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::m_innerIndices [protected] |
Index Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::m_innerSize [protected] |
bool Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >::m_isRValue [protected, inherited] |
Index Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::m_nnz [protected] |
Index* Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::m_outerIndex [protected] |
Index Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::m_outerSize [protected] |
Scalar* Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::m_values [protected] |
| Page generated by Doxygen 1.7.4 for MRPT 0.9.5 SVN:2717 at Sun Oct 16 16:08:03 PDT 2011 | Hosted on: |