OSVR-Core
Classes | Public Member Functions | Protected Attributes | List of all members
Eigen::SparseView< MatrixType > Class Template Reference
Inheritance diagram for Eigen::SparseView< MatrixType >:
Eigen::SparseMatrixBase< SparseView< MatrixType > > Eigen::internal::special_scalar_op_base< SparseView< MatrixType >, internal::traits< SparseView< MatrixType > >::Scalar, NumTraits< internal::traits< SparseView< MatrixType > >::Scalar >::Real, EigenBase< SparseView< MatrixType > > > Eigen::EigenBase< SparseView< MatrixType > >

Classes

class  InnerIterator
 

Public Member Functions

 SparseView (const MatrixType &mat, const Scalar &reference=Scalar(0), const RealScalar &epsilon=NumTraits< Scalar >::dummy_precision())
 
Index rows () const
 
Index cols () const
 
Index innerSize () const
 
Index outerSize () const
 
- Public Member Functions inherited from Eigen::SparseMatrixBase< SparseView< MatrixType > >
SparseView< MatrixType > & operator= (const EigenBase< OtherDerived > &other)
 
SparseView< MatrixType > & operator= (const ReturnByValue< OtherDerived > &other)
 
SparseView< MatrixType > & operator= (const SparseMatrixBase< OtherDerived > &other)
 
SparseView< MatrixType > & operator= (const SparseView< MatrixType > &other)
 
SparseView< MatrixType > & operator= (const SparseSparseProduct< Lhs, Rhs > &product)
 
const SparseView< MatrixType > & derived () const
 
SparseView< MatrixType > & derived ()
 
SparseView< MatrixType > & const_cast_derived () 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 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. More...
 
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
 
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::equal_to< Scalar >, const SparseView< MatrixType >, const OtherDerived > cwiseEqual (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
 
const CwiseScalarEqualReturnType cwiseEqual (const Scalar &s) 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_min_op< Scalar >, const SparseView< MatrixType >, const ConstantReturnTypecwiseMin (const Scalar &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_max_op< Scalar >, const SparseView< MatrixType >, const ConstantReturnTypecwiseMax (const Scalar &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
 
Block< SparseView< MatrixType > > block (Index startRow, Index startCol, Index blockRows, Index blockCols)
 
const Block< const SparseView< MatrixType > > block (Index startRow, Index startCol, Index blockRows, Index blockCols) const
 This is the const version of block(Index,Index,Index,Index). More...
 
Block< SparseView< MatrixType >, BlockRows, BlockCols > block (Index startRow, Index startCol)
 
const Block< const SparseView< MatrixType >, BlockRows, BlockCols > block (Index startRow, Index startCol) const
 This is the const version of block<>(Index, Index). More...
 
Block< SparseView< MatrixType >, BlockRows, BlockCols > block (Index startRow, Index startCol, Index blockRows, Index blockCols)
 
const Block< const SparseView< MatrixType >, BlockRows, BlockCols > block (Index startRow, Index startCol, Index blockRows, Index blockCols) const
 This is the const version of block<>(Index, Index, Index, Index). More...
 
Block< SparseView< MatrixType > > topRightCorner (Index cRows, Index cCols)
 
const Block< const SparseView< MatrixType > > topRightCorner (Index cRows, Index cCols) const
 This is the const version of topRightCorner(Index, Index). More...
 
Block< SparseView< MatrixType >, CRows, CCols > topRightCorner ()
 
const Block< const SparseView< MatrixType >, CRows, CCols > topRightCorner () const
 This is the const version of topRightCorner<int, int>(). More...
 
Block< SparseView< MatrixType >, CRows, CCols > topRightCorner (Index cRows, Index cCols)
 
const Block< const SparseView< MatrixType >, CRows, CCols > topRightCorner (Index cRows, Index cCols) const
 This is the const version of topRightCorner<int, int>(Index, Index). More...
 
Block< SparseView< MatrixType > > topLeftCorner (Index cRows, Index cCols)
 
const Block< const SparseView< MatrixType > > topLeftCorner (Index cRows, Index cCols) const
 This is the const version of topLeftCorner(Index, Index). More...
 
Block< SparseView< MatrixType >, CRows, CCols > topLeftCorner ()
 
const Block< const SparseView< MatrixType >, CRows, CCols > topLeftCorner () const
 This is the const version of topLeftCorner<int, int>(). More...
 
Block< SparseView< MatrixType >, CRows, CCols > topLeftCorner (Index cRows, Index cCols)
 
const Block< const SparseView< MatrixType >, CRows, CCols > topLeftCorner (Index cRows, Index cCols) const
 This is the const version of topLeftCorner<int, int>(Index, Index). More...
 
Block< SparseView< MatrixType > > bottomRightCorner (Index cRows, Index cCols)
 
const Block< const SparseView< MatrixType > > bottomRightCorner (Index cRows, Index cCols) const
 This is the const version of bottomRightCorner(Index, Index). More...
 
Block< SparseView< MatrixType >, CRows, CCols > bottomRightCorner ()
 
const Block< const SparseView< MatrixType >, CRows, CCols > bottomRightCorner () const
 This is the const version of bottomRightCorner<int, int>(). More...
 
Block< SparseView< MatrixType >, CRows, CCols > bottomRightCorner (Index cRows, Index cCols)
 
const Block< const SparseView< MatrixType >, CRows, CCols > bottomRightCorner (Index cRows, Index cCols) const
 This is the const version of bottomRightCorner<int, int>(Index, Index). More...
 
Block< SparseView< MatrixType > > bottomLeftCorner (Index cRows, Index cCols)
 
const Block< const SparseView< MatrixType > > bottomLeftCorner (Index cRows, Index cCols) const
 This is the const version of bottomLeftCorner(Index, Index). More...
 
Block< SparseView< MatrixType >, CRows, CCols > bottomLeftCorner ()
 
const Block< const SparseView< MatrixType >, CRows, CCols > bottomLeftCorner () const
 This is the const version of bottomLeftCorner<int, int>(). More...
 
Block< SparseView< MatrixType >, CRows, CCols > bottomLeftCorner (Index cRows, Index cCols)
 
const Block< const SparseView< MatrixType >, CRows, CCols > bottomLeftCorner (Index cRows, Index cCols) const
 This is the const version of bottomLeftCorner<int, int>(Index, Index). More...
 
RowsBlockXpr topRows (Index n)
 
ConstRowsBlockXpr topRows (Index n) const
 This is the const version of topRows(Index). More...
 
NRowsBlockXpr< N >::Type topRows (Index n=N)
 
ConstNRowsBlockXpr< N >::Type topRows (Index n=N) const
 This is the const version of topRows<int>(). More...
 
RowsBlockXpr bottomRows (Index n)
 
ConstRowsBlockXpr bottomRows (Index n) const
 This is the const version of bottomRows(Index). More...
 
NRowsBlockXpr< N >::Type bottomRows (Index n=N)
 
ConstNRowsBlockXpr< N >::Type bottomRows (Index n=N) const
 This is the const version of bottomRows<int>(). More...
 
RowsBlockXpr middleRows (Index startRow, Index n)
 
ConstRowsBlockXpr middleRows (Index startRow, Index n) const
 This is the const version of middleRows(Index,Index). More...
 
NRowsBlockXpr< N >::Type middleRows (Index startRow, Index n=N)
 
ConstNRowsBlockXpr< N >::Type middleRows (Index startRow, Index n=N) const
 This is the const version of middleRows<int>(). More...
 
ColsBlockXpr leftCols (Index n)
 
ConstColsBlockXpr leftCols (Index n) const
 This is the const version of leftCols(Index). More...
 
NColsBlockXpr< N >::Type leftCols (Index n=N)
 
ConstNColsBlockXpr< N >::Type leftCols (Index n=N) const
 This is the const version of leftCols<int>(). More...
 
ColsBlockXpr rightCols (Index n)
 
ConstColsBlockXpr rightCols (Index n) const
 This is the const version of rightCols(Index). More...
 
NColsBlockXpr< N >::Type rightCols (Index n=N)
 
ConstNColsBlockXpr< N >::Type rightCols (Index n=N) const
 This is the const version of rightCols<int>(). More...
 
ColsBlockXpr middleCols (Index startCol, Index numCols)
 
ConstColsBlockXpr middleCols (Index startCol, Index numCols) const
 This is the const version of middleCols(Index,Index). More...
 
NColsBlockXpr< N >::Type middleCols (Index startCol, Index n=N)
 
ConstNColsBlockXpr< N >::Type middleCols (Index startCol, Index n=N) const
 This is the const version of middleCols<int>(). More...
 
ColXpr col (Index i)
 
ConstColXpr col (Index i) const
 This is the const version of col(). More...
 
RowXpr row (Index i)
 
ConstRowXpr row (Index i) const
 This is the const version of row(). More...
 
SegmentReturnType segment (Index start, Index n)
 
ConstSegmentReturnType segment (Index start, Index n) const
 This is the const version of segment(Index,Index). More...
 
FixedSegmentReturnType< N >::Type segment (Index start, Index n=N)
 
ConstFixedSegmentReturnType< N >::Type segment (Index start, Index n=N) const
 This is the const version of segment<int>(Index). More...
 
SegmentReturnType head (Index n)
 
ConstSegmentReturnType head (Index n) const
 This is the const version of head(Index). More...
 
FixedSegmentReturnType< N >::Type head (Index n=N)
 
ConstFixedSegmentReturnType< N >::Type head (Index n=N) const
 This is the const version of head<int>(). More...
 
SegmentReturnType tail (Index n)
 
ConstSegmentReturnType tail (Index n) const
 This is the const version of tail(Index). More...
 
FixedSegmentReturnType< N >::Type tail (Index n=N)
 
ConstFixedSegmentReturnType< N >::Type tail (Index n=N) const
 This is the const version of tail<int>. More...
 
Index rows () const
 
Index cols () const
 
Index size () const
 
Index nonZeros () const
 
bool isVector () const
 
Index outerSize () const
 
Index innerSize () const
 
bool isRValue () const
 
SparseView< MatrixType > & markAsRValue ()
 
SparseView< MatrixType > & operator+= (const SparseMatrixBase< OtherDerived > &other)
 
EIGEN_STRONG_INLINE SparseView< MatrixType > & operator+= (const SparseMatrixBase< OtherDerived > &other)
 
SparseView< MatrixType > & operator-= (const SparseMatrixBase< OtherDerived > &other)
 
EIGEN_STRONG_INLINE 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 CwiseProductDenseReturnType< OtherDerived >::Type cwiseProduct (const MatrixBase< OtherDerived > &other) const
 
EIGEN_STRONG_INLINE const SparseMatrixBase< SparseView< MatrixType > >::template CwiseProductDenseReturnType< OtherDerived >::Type cwiseProduct (const MatrixBase< OtherDerived > &other) const
 
SparseSymmetricPermutationProduct< SparseView< MatrixType >, Upper|Lower > twistedBy (const PermutationMatrix< Dynamic, Dynamic, Index > &perm) 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
 
internal::traits< SparseView< MatrixType > >::Scalar dot (const MatrixBase< OtherDerived > &other) const
 
internal::traits< SparseView< MatrixType > >::Scalar dot (const SparseMatrixBase< OtherDerived > &other) const
 
RealScalar squaredNorm () const
 
RealScalar norm () const
 
RealScalar blueNorm () const
 
Transpose< SparseView< MatrixType > > transpose ()
 
const Transpose< const SparseView< MatrixType > > transpose () const
 
const AdjointReturnType adjoint () const
 
InnerVectorReturnType innerVector (Index outer)
 
const ConstInnerVectorReturnType innerVector (Index outer) const
 
InnerVectorsReturnType innerVectors (Index outerStart, Index outerSize)
 
const ConstInnerVectorsReturnType innerVectors (Index outerStart, Index outerSize) const
 
void evalTo (MatrixBase< DenseDerived > &dst) const
 
Matrix< Scalar, RowsAtCompileTime, ColsAtCompileTimetoDense () const
 
bool isApprox (const SparseMatrixBase< OtherDerived > &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
bool isApprox (const MatrixBase< OtherDerived > &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
const internal::eval< SparseView< MatrixType > >::type eval () const
 
Scalar sum () const
 
- Public Member Functions inherited from Eigen::internal::special_scalar_op_base< SparseView< MatrixType >, internal::traits< SparseView< MatrixType > >::Scalar, NumTraits< internal::traits< SparseView< MatrixType > >::Scalar >::Real, EigenBase< SparseView< MatrixType > > >
void operator* () const
 
- Public Member Functions inherited from Eigen::EigenBase< SparseView< MatrixType > >
SparseView< MatrixType > & derived ()
 
const SparseView< MatrixType > & derived () const
 
SparseView< MatrixType > & const_cast_derived () const
 
const SparseView< MatrixType > & const_derived () const
 
Index rows () const
 
Index cols () const
 
Index size () const
 
void evalTo (Dest &dst) const
 
void addTo (Dest &dst) const
 
void subTo (Dest &dst) const
 
void applyThisOnTheRight (Dest &dst) const
 
void applyThisOnTheLeft (Dest &dst) const
 

Protected Attributes

MatrixTypeNested m_matrix
 
Scalar m_reference
 
NumTraits< Scalar >::Real m_epsilon
 
- Protected Attributes inherited from Eigen::SparseMatrixBase< SparseView< MatrixType > >
bool m_isRValue
 

Additional Inherited Members

- Public Types inherited from Eigen::SparseMatrixBase< SparseView< MatrixType > >
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 internal::add_const_on_value_type_if_arithmetic< typename internal::packet_traits< Scalar >::type >::type PacketReturnType
 
typedef SparseMatrixBase StorageBaseType
 
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, Index > PlainObject
 
typedef NumTraits< Scalar >::Real RealScalar
 This is the "real scalar" type; if the Scalar type is already real numbers (e.g. More...
 
typedef internal::conditional< _HasDirectAccess, const Scalar &, Scalar >::type CoeffReturnType
 
typedef CwiseNullaryOp< internal::scalar_constant_op< Scalar >, Matrix< Scalar, Dynamic, Dynamic > > ConstantReturnType
 
typedef Matrix< Scalar, EIGEN_SIZE_MAX(RowsAtCompileTime, ColsAtCompileTime), EIGEN_SIZE_MAX(RowsAtCompileTime, ColsAtCompileTime)> SquareMatrixType
 type of the equivalent square matrix
 
typedef internal::special_scalar_op_base< SparseView< MatrixType >, Scalar, RealScalar, EigenBase< SparseView< MatrixType > > > Base
 
typedef CwiseUnaryOp< internal::scalar_multiple_op< Scalar >, const SparseView< MatrixType > > ScalarMultipleReturnType
 
typedef CwiseUnaryOp< internal::scalar_quotient1_op< Scalar >, const SparseView< MatrixType > > ScalarQuotient1ReturnType
 
typedef internal::conditional< NumTraits< Scalar >::IsComplex, const CwiseUnaryOp< internal::scalar_conjugate_op< Scalar >, const SparseView< MatrixType > >, const SparseView< MatrixType > & >::type ConjugateReturnType
 
typedef internal::conditional< NumTraits< Scalar >::IsComplex, const CwiseUnaryOp< internal::scalar_real_op< Scalar >, const SparseView< MatrixType > >, const SparseView< MatrixType > & >::type RealReturnType
 
typedef internal::conditional< NumTraits< Scalar >::IsComplex, CwiseUnaryView< internal::scalar_real_ref_op< Scalar >, SparseView< MatrixType > >, SparseView< MatrixType > & >::type NonConstRealReturnType
 
typedef CwiseUnaryOp< internal::scalar_imag_op< Scalar >, const SparseView< MatrixType > > ImagReturnType
 
typedef CwiseUnaryView< internal::scalar_imag_ref_op< Scalar >, SparseView< MatrixType > > NonConstImagReturnType
 
typedef CwiseBinaryOp< internal::scalar_cmp_op< Scalar, internal::cmp_EQ >, const SparseView< MatrixType >, const ConstantReturnTypeCwiseScalarEqualReturnType
 
typedef Block< SparseView< MatrixType >, internal::traits< SparseView< MatrixType > >::RowsAtCompileTime, 1, !IsRowMajor > ColXpr
 
typedef const Block< const SparseView< MatrixType >, internal::traits< SparseView< MatrixType > >::RowsAtCompileTime, 1, !IsRowMajor > ConstColXpr
 
typedef Block< SparseView< MatrixType >, 1, internal::traits< SparseView< MatrixType > >::ColsAtCompileTime, IsRowMajor > RowXpr
 
typedef const Block< const SparseView< MatrixType >, 1, internal::traits< SparseView< MatrixType > >::ColsAtCompileTime, IsRowMajor > ConstRowXpr
 
typedef Block< SparseView< MatrixType >, internal::traits< SparseView< MatrixType > >::RowsAtCompileTime, Dynamic, !IsRowMajor > ColsBlockXpr
 
typedef const Block< const SparseView< MatrixType >, internal::traits< SparseView< MatrixType > >::RowsAtCompileTime, Dynamic, !IsRowMajor > ConstColsBlockXpr
 
typedef Block< SparseView< MatrixType >, Dynamic, internal::traits< SparseView< MatrixType > >::ColsAtCompileTime, IsRowMajor > RowsBlockXpr
 
typedef const Block< const SparseView< MatrixType >, Dynamic, internal::traits< SparseView< MatrixType > >::ColsAtCompileTime, IsRowMajor > ConstRowsBlockXpr
 
typedef VectorBlock< SparseView< MatrixType > > SegmentReturnType
 
typedef const VectorBlock< const SparseView< MatrixType > > ConstSegmentReturnType
 
typedef Block< SparseView< MatrixType >, IsRowMajor?1:Dynamic, IsRowMajor?Dynamic:1, true > InnerVectorReturnType
 
typedef Block< const SparseView< MatrixType >, IsRowMajor?1:Dynamic, IsRowMajor?Dynamic:1, true > ConstInnerVectorReturnType
 
typedef Block< SparseView< MatrixType >, Dynamic, Dynamic, true > InnerVectorsReturnType
 
typedef Block< const SparseView< MatrixType >, Dynamic, Dynamic, true > ConstInnerVectorsReturnType
 
- Public Types inherited from Eigen::EigenBase< SparseView< MatrixType > >
typedef internal::traits< SparseView< MatrixType > >::StorageKind StorageKind
 
typedef internal::traits< SparseView< MatrixType > >::Index Index
 
- Protected Member Functions inherited from Eigen::SparseMatrixBase< SparseView< MatrixType > >
SparseView< MatrixType > & assign (const OtherDerived &other)
 
void assignGeneric (const OtherDerived &other)
 

The documentation for this class was generated from the following files: