
Classes | |
| class | InnerIterator |
Public Types | |
| enum | |
| typedef internal::traits < SparseView< MatrixType > >::Scalar | Scalar |
| typedef internal::packet_traits < Scalar >::type | PacketScalar |
| typedef internal::traits < SparseView< MatrixType > >::StorageKind | StorageKind |
| typedef internal::traits < SparseView< MatrixType > >::Index | Index |
| typedef SparseMatrixBase | StorageBaseType |
| typedef EigenBase< SparseView < MatrixType > > | Base |
| typedef internal::conditional < NumTraits< Scalar > ::IsComplex, CwiseUnaryOp < internal::scalar_conjugate_op < Scalar >, Eigen::Transpose < const SparseView< MatrixType > > >, Transpose< const SparseView< MatrixType > > >::type | AdjointReturnType |
| typedef SparseMatrix< Scalar, Flags &RowMajorBit?RowMajor:ColMajor > | PlainObject |
Public Member Functions | |
| SparseView (const MatrixType &mat, const Scalar &m_reference=Scalar(0), typename NumTraits< Scalar >::Real m_epsilon=NumTraits< Scalar >::dummy_precision()) | |
| Index | rows () const |
| Index | cols () const |
| Index | innerSize () const |
| Index | outerSize () const |
| const CwiseUnaryOp < internal::scalar_opposite_op < typename internal::traits < SparseView< MatrixType > >::Scalar >, const SparseView < MatrixType > > | 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 SparseView < MatrixType > > | operator* (const std::complex< Scalar > &scalar) const |
| Overloaded for efficient real matrix times complex scalar value. | |
| const SparseSparseProductReturnType < SparseView< MatrixType > , OtherDerived >::Type | operator* (const SparseMatrixBase< OtherDerived > &other) const |
| const SparseDiagonalProduct < SparseView< MatrixType > , OtherDerived > | operator* (const DiagonalBase< OtherDerived > &other) const |
| const SparseDenseProductReturnType < SparseView< MatrixType > , 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 < SparseView< MatrixType > >::Scalar >, const SparseView < MatrixType > > | operator/ (const Scalar &scalar) const |
| internal::cast_return_type < SparseView< MatrixType > , const CwiseUnaryOp < internal::scalar_cast_op < typename internal::traits < SparseView< MatrixType > >::Scalar, NewType >, const SparseView< MatrixType > > >::type | cast () const |
| ConjugateReturnType | conjugate () const |
| RealReturnType | real () const |
| NonConstRealReturnType | real () |
| const ImagReturnType | imag () const |
| NonConstImagReturnType | imag () |
| const CwiseUnaryOp < CustomUnaryOp, const SparseView< MatrixType > > | unaryExpr (const CustomUnaryOp &func=CustomUnaryOp()) const |
| Apply a unary operator coefficient-wise. | |
| const CwiseUnaryView < CustomViewOp, const SparseView< MatrixType > > | unaryViewExpr (const CustomViewOp &func=CustomViewOp()) const |
| EIGEN_STRONG_INLINE const CwiseBinaryOp< CustomBinaryOp, const SparseView< MatrixType > , 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 SparseView < MatrixType > > | cwiseAbs () const |
| EIGEN_STRONG_INLINE const CwiseUnaryOp < internal::scalar_abs2_op < Scalar >, const SparseView < MatrixType > > | cwiseAbs2 () const |
| const CwiseUnaryOp < internal::scalar_sqrt_op < Scalar >, const SparseView < MatrixType > > | cwiseSqrt () const |
| const CwiseUnaryOp < internal::scalar_inverse_op < Scalar >, const SparseView < MatrixType > > | cwiseInverse () const |
| const CwiseUnaryOp < std::binder1st < std::equal_to< Scalar > >, const SparseView < MatrixType > > | cwiseEqual (const Scalar &s) const |
| const CwiseBinaryOp < std::equal_to< Scalar > , const SparseView< MatrixType > , const OtherDerived > | cwiseEqual (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
| EIGEN_STRONG_INLINE const | EIGEN_CWISE_PRODUCT_RETURN_TYPE (SparseView< MatrixType >, OtherDerived) cwiseProduct(const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
| const CwiseBinaryOp < std::not_equal_to< Scalar > , const SparseView< MatrixType > , const OtherDerived > | cwiseNotEqual (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
| EIGEN_STRONG_INLINE const CwiseBinaryOp < internal::scalar_min_op < Scalar >, const SparseView < MatrixType >, const OtherDerived > | cwiseMin (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
| EIGEN_STRONG_INLINE const CwiseBinaryOp < internal::scalar_max_op < Scalar >, const SparseView < MatrixType >, const OtherDerived > | cwiseMax (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
| EIGEN_STRONG_INLINE const CwiseBinaryOp < internal::scalar_quotient_op < Scalar >, const SparseView < MatrixType >, const OtherDerived > | cwiseQuotient (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
| Index | size () const |
| Index | nonZeros () const |
| bool | isVector () const |
| bool | isRValue () const |
| SparseView< MatrixType > & | markAsRValue () |
| void | assignGeneric (const OtherDerived &other) |
| void | _experimentalNewProduct (const Lhs &lhs, const Rhs &rhs) |
| SparseView< MatrixType > & | operator+= (const SparseMatrixBase< OtherDerived > &other) |
| SparseView< MatrixType > & | operator-= (const SparseMatrixBase< OtherDerived > &other) |
| SparseView< MatrixType > & | operator*= (const Scalar &other) |
| SparseView< MatrixType > & | operator*= (const SparseMatrixBase< OtherDerived > &other) |
| SparseView< MatrixType > & | operator/= (const Scalar &other) |
| EIGEN_STRONG_INLINE const EIGEN_SPARSE_CWISE_PRODUCT_RETURN_TYPE | cwiseProduct (const MatrixBase< OtherDerived > &other) const |
| const SparseTriangularView < SparseView< MatrixType > , Mode > | triangularView () const |
| const SparseSelfAdjointView < SparseView< MatrixType > , UpLo > | selfadjointView () const |
| SparseSelfAdjointView < SparseView< MatrixType > , UpLo > | selfadjointView () |
| Scalar | dot (const MatrixBase< OtherDerived > &other) const |
| Scalar | dot (const SparseMatrixBase< OtherDerived > &other) const |
| RealScalar | squaredNorm () const |
| RealScalar | norm () const |
| Transpose< SparseView < MatrixType > > | transpose () |
| const Transpose< const SparseView< MatrixType > > | transpose () const |
| const AdjointReturnType | adjoint () const |
| SparseInnerVectorSet < SparseView< MatrixType >, 1 > | row (Index i) |
| const SparseInnerVectorSet < SparseView< MatrixType >, 1 > | row (Index i) const |
| SparseInnerVectorSet < SparseView< MatrixType >, 1 > | col (Index j) |
| const SparseInnerVectorSet < SparseView< MatrixType >, 1 > | col (Index j) const |
| SparseInnerVectorSet < SparseView< MatrixType >, 1 > | innerVector (Index outer) |
| const SparseInnerVectorSet < SparseView< MatrixType >, 1 > | innerVector (Index outer) const |
| SparseInnerVectorSet < SparseView< MatrixType > , Dynamic > | subrows (Index start, Index size) |
| const SparseInnerVectorSet < SparseView< MatrixType > , Dynamic > | subrows (Index start, Index size) const |
| SparseInnerVectorSet < SparseView< MatrixType > , Dynamic > | subcols (Index start, Index size) |
| const SparseInnerVectorSet < SparseView< MatrixType > , Dynamic > | subcols (Index start, Index size) const |
| SparseInnerVectorSet < SparseView< MatrixType > , Dynamic > | innerVectors (Index outerStart, Index outerSize) |
| const SparseInnerVectorSet < SparseView< MatrixType > , 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 < SparseView< MatrixType > >::type | eval () const |
| Scalar | sum () const |
| SparseView< MatrixType > & | derived () |
| const SparseView< MatrixType > & | derived () const |
| SparseView< MatrixType > & | const_cast_derived () const |
| const SparseView< MatrixType > & | const_derived () const |
| void | addTo (Dest &dst) const |
| void | subTo (Dest &dst) const |
| void | applyThisOnTheRight (Dest &dst) const |
| void | applyThisOnTheLeft (Dest &dst) const |
Protected Attributes | |
| const MatrixTypeNested | m_matrix |
| Scalar | m_reference |
| NumTraits< Scalar >::Real | m_epsilon |
| bool | m_isRValue |
Private Types | |
| typedef MatrixType::Nested | MatrixTypeNested |
| typedef internal::remove_all < MatrixTypeNested >::type | _MatrixTypeNested |
Friends | |
| const ScalarMultipleReturnType | operator* (const Scalar &scalar, const StorageBaseType &matrix) |
| const CwiseUnaryOp < internal::scalar_multiple2_op < Scalar, std::complex< Scalar > >, const SparseView < MatrixType > > | operator* (const std::complex< Scalar > &scalar, const StorageBaseType &matrix) |
| const SparseDiagonalProduct < OtherDerived, SparseView < MatrixType > > | operator* (const DiagonalBase< OtherDerived > &lhs, const SparseMatrixBase &rhs) |
| const DenseSparseProductReturnType < OtherDerived, SparseView < MatrixType > >::Type | operator* (const MatrixBase< OtherDerived > &lhs, const SparseView< MatrixType > &rhs) |
| dense * sparse (return a dense object unless it is an outer product) | |
| std::ostream & | operator<< (std::ostream &s, const SparseMatrixBase &m) |
typedef internal::remove_all<MatrixTypeNested>::type Eigen::SparseView< MatrixType >::_MatrixTypeNested [private] |
typedef internal::conditional<NumTraits<Scalar>::IsComplex, CwiseUnaryOp<internal::scalar_conjugate_op<Scalar>, Eigen::Transpose<const SparseView< MatrixType > > >, Transpose<const SparseView< MatrixType > > >::type Eigen::SparseMatrixBase< SparseView< MatrixType > >::AdjointReturnType [inherited] |
typedef EigenBase<SparseView< MatrixType > > Eigen::SparseMatrixBase< SparseView< MatrixType > >::Base [inherited] |
typedef internal::traits<SparseView< MatrixType > >::Index Eigen::SparseMatrixBase< SparseView< MatrixType > >::Index [inherited] |
Reimplemented from Eigen::EigenBase< SparseView< MatrixType > >.
typedef MatrixType::Nested Eigen::SparseView< MatrixType >::MatrixTypeNested [private] |
typedef internal::packet_traits<Scalar>::type Eigen::SparseMatrixBase< SparseView< MatrixType > >::PacketScalar [inherited] |
typedef SparseMatrix<Scalar, Flags&RowMajorBit ? RowMajor : ColMajor> Eigen::SparseMatrixBase< SparseView< MatrixType > >::PlainObject [inherited] |
typedef internal::traits<SparseView< MatrixType > >::Scalar Eigen::SparseMatrixBase< SparseView< MatrixType > >::Scalar [inherited] |
typedef SparseMatrixBase Eigen::SparseMatrixBase< SparseView< MatrixType > >::StorageBaseType [inherited] |
typedef internal::traits<SparseView< MatrixType > >::StorageKind Eigen::SparseMatrixBase< SparseView< MatrixType > >::StorageKind [inherited] |
Reimplemented from Eigen::EigenBase< SparseView< MatrixType > >.
| Eigen::SparseView< MatrixType >::SparseView | ( | const MatrixType & | mat, |
| const Scalar & | m_reference = Scalar(0), |
||
| typename NumTraits< Scalar >::Real | m_epsilon = NumTraits<Scalar>::dummy_precision() |
||
| ) | [inline] |
| void Eigen::SparseMatrixBase< SparseView< MatrixType > >::_experimentalNewProduct | ( | const Lhs & | lhs, |
| const Rhs & | rhs | ||
| ) | [inline, inherited] |
| void Eigen::EigenBase< SparseView< MatrixType > >::addTo | ( | Dest & | dst | ) | const [inline, inherited] |
| const AdjointReturnType Eigen::SparseMatrixBase< SparseView< MatrixType > >::adjoint | ( | ) | const [inline, inherited] |
| void Eigen::EigenBase< SparseView< MatrixType > >::applyThisOnTheLeft | ( | Dest & | dst | ) | const [inline, inherited] |
| void Eigen::EigenBase< SparseView< MatrixType > >::applyThisOnTheRight | ( | Dest & | dst | ) | const [inline, inherited] |
| void Eigen::SparseMatrixBase< SparseView< MatrixType > >::assignGeneric | ( | const OtherDerived & | other | ) | [inline, inherited] |
| EIGEN_STRONG_INLINE const CwiseBinaryOp<CustomBinaryOp, const SparseView< MatrixType > , const OtherDerived> Eigen::SparseMatrixBase< SparseView< MatrixType > >::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<SparseView< MatrixType > ,const CwiseUnaryOp<internal::scalar_cast_op<typename internal::traits<SparseView< MatrixType > >::Scalar, NewType>, const SparseView< MatrixType > > >::type Eigen::SparseMatrixBase< SparseView< MatrixType > >::cast | ( | ) | const [inline, inherited] |
| SparseInnerVectorSet<SparseView< MatrixType > ,1> Eigen::SparseMatrixBase< SparseView< MatrixType > >::col | ( | Index | j | ) | [inherited] |
*this. For column-major matrix only. | const SparseInnerVectorSet<SparseView< MatrixType > ,1> Eigen::SparseMatrixBase< SparseView< MatrixType > >::col | ( | Index | j | ) | const [inherited] |
*this. For column-major matrix only. (read-only version) | Index Eigen::SparseView< MatrixType >::cols | ( | void | ) | const [inline] |
Reimplemented from Eigen::SparseMatrixBase< SparseView< MatrixType > >.
| ConjugateReturnType Eigen::SparseMatrixBase< SparseView< MatrixType > >::conjugate | ( | ) | const [inline, inherited] |
| SparseView< MatrixType > & Eigen::EigenBase< SparseView< MatrixType > >::const_cast_derived | ( | ) | const [inline, inherited] |
| const SparseView< MatrixType > & Eigen::EigenBase< SparseView< MatrixType > >::const_derived | ( | ) | const [inline, inherited] |
| EIGEN_STRONG_INLINE const CwiseUnaryOp<internal::scalar_abs_op<Scalar>, const SparseView< MatrixType > > Eigen::SparseMatrixBase< SparseView< MatrixType > >::cwiseAbs | ( | ) | const [inline, inherited] |
| EIGEN_STRONG_INLINE const CwiseUnaryOp<internal::scalar_abs2_op<Scalar>, const SparseView< MatrixType > > Eigen::SparseMatrixBase< SparseView< MatrixType > >::cwiseAbs2 | ( | ) | const [inline, inherited] |
| const CwiseUnaryOp<std::binder1st<std::equal_to<Scalar> >, const SparseView< MatrixType > > Eigen::SparseMatrixBase< SparseView< MatrixType > >::cwiseEqual | ( | const Scalar & | s | ) | const [inline, inherited] |
*this and a scalar s | const CwiseBinaryOp<std::equal_to<Scalar>, const SparseView< MatrixType > , const OtherDerived> Eigen::SparseMatrixBase< SparseView< MatrixType > >::cwiseEqual | ( | const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > & | other | ) | const [inline, inherited] |
Example:
Output:
| const CwiseUnaryOp<internal::scalar_inverse_op<Scalar>, const SparseView< MatrixType > > Eigen::SparseMatrixBase< SparseView< MatrixType > >::cwiseInverse | ( | ) | const [inline, inherited] |
| EIGEN_STRONG_INLINE const CwiseBinaryOp<internal::scalar_max_op<Scalar>, const SparseView< MatrixType > , const OtherDerived> Eigen::SparseMatrixBase< SparseView< MatrixType > >::cwiseMax | ( | const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > & | other | ) | const [inline, inherited] |
| EIGEN_STRONG_INLINE const CwiseBinaryOp<internal::scalar_min_op<Scalar>, const SparseView< MatrixType > , const OtherDerived> Eigen::SparseMatrixBase< SparseView< MatrixType > >::cwiseMin | ( | const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > & | other | ) | const [inline, inherited] |
| const CwiseBinaryOp<std::not_equal_to<Scalar>, const SparseView< MatrixType > , const OtherDerived> Eigen::SparseMatrixBase< SparseView< MatrixType > >::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< SparseView< MatrixType > >::cwiseProduct | ( | const MatrixBase< OtherDerived > & | other | ) | const [inherited] |
| EIGEN_STRONG_INLINE const CwiseBinaryOp<internal::scalar_quotient_op<Scalar>, const SparseView< MatrixType > , const OtherDerived> Eigen::SparseMatrixBase< SparseView< MatrixType > >::cwiseQuotient | ( | const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > & | other | ) | const [inline, inherited] |
| const CwiseUnaryOp<internal::scalar_sqrt_op<Scalar>, const SparseView< MatrixType > > Eigen::SparseMatrixBase< SparseView< MatrixType > >::cwiseSqrt | ( | ) | const [inline, inherited] |
| SparseView< MatrixType > & Eigen::EigenBase< SparseView< MatrixType > >::derived | ( | ) | [inline, inherited] |
| const SparseView< MatrixType > & Eigen::EigenBase< SparseView< MatrixType > >::derived | ( | ) | const [inline, inherited] |
| Scalar Eigen::SparseMatrixBase< SparseView< MatrixType > >::dot | ( | const MatrixBase< OtherDerived > & | other | ) | const [inherited] |
| Scalar Eigen::SparseMatrixBase< SparseView< MatrixType > >::dot | ( | const SparseMatrixBase< OtherDerived > & | other | ) | const [inherited] |
| EIGEN_STRONG_INLINE const Eigen::SparseMatrixBase< SparseView< MatrixType > >::EIGEN_CWISE_PRODUCT_RETURN_TYPE | ( | SparseView< MatrixType > | , |
| OtherDerived | |||
| ) | const [inline, inherited] |
| const internal::eval<SparseView< MatrixType > >::type Eigen::SparseMatrixBase< SparseView< MatrixType > >::eval | ( | ) | const [inline, inherited] |
| void Eigen::SparseMatrixBase< SparseView< MatrixType > >::evalTo | ( | MatrixBase< DenseDerived > & | dst | ) | const [inline, inherited] |
| void Eigen::EigenBase< SparseView< MatrixType > >::evalTo | ( | Dest & | dst | ) | const [inline, inherited] |
| NonConstImagReturnType Eigen::SparseMatrixBase< SparseView< MatrixType > >::imag | ( | ) | [inline, inherited] |
| const ImagReturnType Eigen::SparseMatrixBase< SparseView< MatrixType > >::imag | ( | ) | const [inline, inherited] |
| Index Eigen::SparseView< MatrixType >::innerSize | ( | ) | const [inline] |
Reimplemented from Eigen::SparseMatrixBase< SparseView< MatrixType > >.
| SparseInnerVectorSet<SparseView< MatrixType > ,1> Eigen::SparseMatrixBase< SparseView< MatrixType > >::innerVector | ( | Index | outer | ) | [inherited] |
*this if *this is col-major (resp. row-major). | const SparseInnerVectorSet<SparseView< MatrixType > ,1> Eigen::SparseMatrixBase< SparseView< MatrixType > >::innerVector | ( | Index | outer | ) | const [inherited] |
*this if *this is col-major (resp. row-major). Read-only. | SparseInnerVectorSet<SparseView< MatrixType > ,Dynamic> Eigen::SparseMatrixBase< SparseView< MatrixType > >::innerVectors | ( | Index | outerStart, |
| Index | outerSize | ||
| ) | [inherited] |
*this if *this is col-major (resp. row-major). | const SparseInnerVectorSet<SparseView< MatrixType > ,Dynamic> Eigen::SparseMatrixBase< SparseView< MatrixType > >::innerVectors | ( | Index | outerStart, |
| Index | outerSize | ||
| ) | const [inherited] |
*this if *this is col-major (resp. row-major). Read-only. | bool Eigen::SparseMatrixBase< SparseView< MatrixType > >::isApprox | ( | const SparseMatrixBase< OtherDerived > & | other, |
| RealScalar | prec = NumTraits<Scalar>::dummy_precision() |
||
| ) | const [inline, inherited] |
| bool Eigen::SparseMatrixBase< SparseView< MatrixType > >::isApprox | ( | const MatrixBase< OtherDerived > & | other, |
| RealScalar | prec = NumTraits<Scalar>::dummy_precision() |
||
| ) | const [inline, inherited] |
| bool Eigen::SparseMatrixBase< SparseView< MatrixType > >::isRValue | ( | ) | const [inline, inherited] |
| bool Eigen::SparseMatrixBase< SparseView< MatrixType > >::isVector | ( | ) | const [inline, inherited] |
| SparseView< MatrixType > & Eigen::SparseMatrixBase< SparseView< MatrixType > >::markAsRValue | ( | ) | [inline, inherited] |
| Index Eigen::SparseMatrixBase< SparseView< MatrixType > >::nonZeros | ( | ) | const [inline, inherited] |
| RealScalar Eigen::SparseMatrixBase< SparseView< MatrixType > >::norm | ( | ) | const [inherited] |
| const SparseDiagonalProduct<SparseView< MatrixType > ,OtherDerived> Eigen::SparseMatrixBase< SparseView< MatrixType > >::operator* | ( | const DiagonalBase< OtherDerived > & | other | ) | const [inherited] |
| const SparseDenseProductReturnType<SparseView< MatrixType > ,OtherDerived>::Type Eigen::SparseMatrixBase< SparseView< MatrixType > >::operator* | ( | const MatrixBase< OtherDerived > & | other | ) | const [inherited] |
sparse * dense (returns a dense object unless it is an outer product)
| const SparseSparseProductReturnType<SparseView< MatrixType > ,OtherDerived>::Type Eigen::SparseMatrixBase< SparseView< MatrixType > >::operator* | ( | const SparseMatrixBase< OtherDerived > & | other | ) | const [inherited] |
| const ScalarMultipleReturnType Eigen::SparseMatrixBase< SparseView< MatrixType > >::operator* | ( | const Scalar & | scalar | ) | const [inline, inherited] |
| const ScalarMultipleReturnType Eigen::SparseMatrixBase< SparseView< MatrixType > >::operator* | ( | const RealScalar & | scalar | ) | const [inherited] |
| const CwiseUnaryOp<internal::scalar_multiple2_op<Scalar,std::complex<Scalar> >, const SparseView< MatrixType > > Eigen::SparseMatrixBase< SparseView< MatrixType > >::operator* | ( | const std::complex< Scalar > & | scalar | ) | const [inline, inherited] |
| SparseView< MatrixType > & Eigen::SparseMatrixBase< SparseView< MatrixType > >::operator*= | ( | const SparseMatrixBase< OtherDerived > & | other | ) | [inherited] |
| SparseView< MatrixType > & Eigen::SparseMatrixBase< SparseView< MatrixType > >::operator*= | ( | const Scalar & | other | ) | [inherited] |
| SparseView< MatrixType > & Eigen::SparseMatrixBase< SparseView< MatrixType > >::operator+= | ( | const SparseMatrixBase< OtherDerived > & | other | ) | [inherited] |
| const CwiseUnaryOp<internal::scalar_opposite_op<typename internal::traits<SparseView< MatrixType > >::Scalar>, const SparseView< MatrixType > > Eigen::SparseMatrixBase< SparseView< MatrixType > >::operator- | ( | ) | const [inline, inherited] |
| SparseView< MatrixType > & Eigen::SparseMatrixBase< SparseView< MatrixType > >::operator-= | ( | const SparseMatrixBase< OtherDerived > & | other | ) | [inherited] |
| const CwiseUnaryOp<internal::scalar_quotient1_op<typename internal::traits<SparseView< MatrixType > >::Scalar>, const SparseView< MatrixType > > Eigen::SparseMatrixBase< SparseView< MatrixType > >::operator/ | ( | const Scalar & | scalar | ) | const [inline, inherited] |
| SparseView< MatrixType > & Eigen::SparseMatrixBase< SparseView< MatrixType > >::operator/= | ( | const Scalar & | other | ) | [inherited] |
| Index Eigen::SparseView< MatrixType >::outerSize | ( | ) | const [inline] |
Reimplemented from Eigen::SparseMatrixBase< SparseView< MatrixType > >.
| RealReturnType Eigen::SparseMatrixBase< SparseView< MatrixType > >::real | ( | ) | const [inline, inherited] |
| NonConstRealReturnType Eigen::SparseMatrixBase< SparseView< MatrixType > >::real | ( | ) | [inline, inherited] |
| const SparseInnerVectorSet<SparseView< MatrixType > ,1> Eigen::SparseMatrixBase< SparseView< MatrixType > >::row | ( | Index | i | ) | const [inherited] |
*this. For row-major matrix only. (read-only version) | SparseInnerVectorSet<SparseView< MatrixType > ,1> Eigen::SparseMatrixBase< SparseView< MatrixType > >::row | ( | Index | i | ) | [inherited] |
*this. For row-major matrix only. | Index Eigen::SparseView< MatrixType >::rows | ( | void | ) | const [inline] |
Reimplemented from Eigen::SparseMatrixBase< SparseView< MatrixType > >.
| SparseSelfAdjointView<SparseView< MatrixType > , UpLo> Eigen::SparseMatrixBase< SparseView< MatrixType > >::selfadjointView | ( | ) | [inline, inherited] |
| const SparseSelfAdjointView<SparseView< MatrixType > , UpLo> Eigen::SparseMatrixBase< SparseView< MatrixType > >::selfadjointView | ( | ) | const [inline, inherited] |
| Index Eigen::SparseMatrixBase< SparseView< MatrixType > >::size | ( | ) | const [inline, inherited] |
Reimplemented from Eigen::EigenBase< SparseView< MatrixType > >.
| RealScalar Eigen::SparseMatrixBase< SparseView< MatrixType > >::squaredNorm | ( | ) | const [inherited] |
| const SparseInnerVectorSet<SparseView< MatrixType > ,Dynamic> Eigen::SparseMatrixBase< SparseView< MatrixType > >::subcols | ( | Index | start, |
| Index | size | ||
| ) | const [inherited] |
*this. For column-major matrix only. (read-only version) | SparseInnerVectorSet<SparseView< MatrixType > ,Dynamic> Eigen::SparseMatrixBase< SparseView< MatrixType > >::subcols | ( | Index | start, |
| Index | size | ||
| ) | [inherited] |
*this. For column-major matrix only. | SparseInnerVectorSet<SparseView< MatrixType > ,Dynamic> Eigen::SparseMatrixBase< SparseView< MatrixType > >::subrows | ( | Index | start, |
| Index | size | ||
| ) | [inherited] |
*this. For row-major matrix only. | const SparseInnerVectorSet<SparseView< MatrixType > ,Dynamic> Eigen::SparseMatrixBase< SparseView< MatrixType > >::subrows | ( | Index | start, |
| Index | size | ||
| ) | const [inherited] |
*this. For row-major matrix only. (read-only version) | void Eigen::EigenBase< SparseView< MatrixType > >::subTo | ( | Dest & | dst | ) | const [inline, inherited] |
| Scalar Eigen::SparseMatrixBase< SparseView< MatrixType > >::sum | ( | ) | const [inherited] |
| Matrix<Scalar,RowsAtCompileTime,ColsAtCompileTime> Eigen::SparseMatrixBase< SparseView< MatrixType > >::toDense | ( | ) | const [inline, inherited] |
| const Transpose<const SparseView< MatrixType > > Eigen::SparseMatrixBase< SparseView< MatrixType > >::transpose | ( | ) | const [inline, inherited] |
| Transpose<SparseView< MatrixType > > Eigen::SparseMatrixBase< SparseView< MatrixType > >::transpose | ( | ) | [inline, inherited] |
| const SparseTriangularView<SparseView< MatrixType > , Mode> Eigen::SparseMatrixBase< SparseView< MatrixType > >::triangularView | ( | ) | const [inline, inherited] |
| const CwiseUnaryOp<CustomUnaryOp, const SparseView< MatrixType > > Eigen::SparseMatrixBase< SparseView< MatrixType > >::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 SparseView< MatrixType > > Eigen::SparseMatrixBase< SparseView< MatrixType > >::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 SparseView< MatrixType > > operator* | ( | const std::complex< Scalar > & | scalar, |
| const StorageBaseType & | matrix | ||
| ) | [friend, inherited] |
| const DenseSparseProductReturnType<OtherDerived,SparseView< MatrixType > >::Type operator* | ( | const MatrixBase< OtherDerived > & | lhs, |
| const SparseView< MatrixType > & | rhs | ||
| ) | [friend, inherited] |
| const SparseDiagonalProduct<OtherDerived,SparseView< MatrixType > > operator* | ( | const DiagonalBase< OtherDerived > & | lhs, |
| const SparseMatrixBase< SparseView< MatrixType > > & | rhs | ||
| ) | [friend, inherited] |
| std::ostream& operator<< | ( | std::ostream & | s, |
| const SparseMatrixBase< SparseView< MatrixType > > & | m | ||
| ) | [friend, inherited] |
NumTraits<Scalar>::Real Eigen::SparseView< MatrixType >::m_epsilon [protected] |
bool Eigen::SparseMatrixBase< SparseView< MatrixType > >::m_isRValue [protected, inherited] |
const MatrixTypeNested Eigen::SparseView< MatrixType >::m_matrix [protected] |
Scalar Eigen::SparseView< MatrixType >::m_reference [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: |