Main MRPT website > C++ reference
MRPT logo
Classes | Public Types | Public Member Functions | Protected Attributes | Private Types | Friends
Eigen::SparseTriangularView< MatrixType, Mode > Class Template Reference

Detailed Description

template<typename MatrixType, int Mode>
class Eigen::SparseTriangularView< MatrixType, Mode >

Definition at line 38 of file Sparse.

Inheritance diagram for Eigen::SparseTriangularView< MatrixType, Mode >:
Inheritance graph
[legend]

List of all members.

Classes

class  InnerIterator

Public Types

typedef internal::conditional
< internal::must_nest_by_value
< MatrixType >::ret,
MatrixType, const MatrixType & >
::type 
MatrixTypeNested
enum  
typedef internal::traits
< SparseTriangularView
< MatrixType, Mode > >::Scalar 
Scalar
typedef
internal::packet_traits
< Scalar >::type 
PacketScalar
typedef internal::traits
< SparseTriangularView
< MatrixType, Mode >
>::StorageKind 
StorageKind
typedef internal::traits
< SparseTriangularView
< MatrixType, Mode > >::Index 
Index
typedef SparseMatrixBase StorageBaseType
typedef EigenBase
< SparseTriangularView
< MatrixType, Mode > > 
Base
typedef internal::conditional
< NumTraits< Scalar >
::IsComplex, CwiseUnaryOp
< internal::scalar_conjugate_op
< Scalar >, Eigen::Transpose
< const SparseTriangularView
< MatrixType, Mode >
> >, Transpose< const
SparseTriangularView
< MatrixType, Mode > > >::type 
AdjointReturnType
typedef SparseMatrix< Scalar,
Flags &RowMajorBit?RowMajor:ColMajor > 
PlainObject

Public Member Functions

Index rows () const
Index cols () const
 SparseTriangularView (const MatrixType &matrix)
const MatrixType & nestedExpression () const
template<typename OtherDerived >
internal::plain_matrix_type_column_major
< OtherDerived >::type 
solve (const MatrixBase< OtherDerived > &other) const
template<typename OtherDerived >
void solveInPlace (MatrixBase< OtherDerived > &other) const
template<typename OtherDerived >
void solveInPlace (SparseMatrixBase< OtherDerived > &other) const
const CwiseUnaryOp
< internal::scalar_opposite_op
< typename internal::traits
< SparseTriangularView
< MatrixType, Mode > >::Scalar >
, const SparseTriangularView
< MatrixType, Mode > > 
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 SparseTriangularView
< MatrixType, Mode > > 
operator* (const std::complex< Scalar > &scalar) const
 Overloaded for efficient real matrix times complex scalar value.
const
SparseSparseProductReturnType
< SparseTriangularView
< MatrixType, Mode >
, OtherDerived >::Type 
operator* (const SparseMatrixBase< OtherDerived > &other) const
const SparseDiagonalProduct
< SparseTriangularView
< MatrixType, Mode >
, OtherDerived > 
operator* (const DiagonalBase< OtherDerived > &other) const
const
SparseDenseProductReturnType
< SparseTriangularView
< MatrixType, Mode >
, 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
< SparseTriangularView
< MatrixType, Mode > >::Scalar >
, const SparseTriangularView
< MatrixType, Mode > > 
operator/ (const Scalar &scalar) const
internal::cast_return_type
< SparseTriangularView
< MatrixType, Mode >, const
CwiseUnaryOp
< internal::scalar_cast_op
< typename internal::traits
< SparseTriangularView
< MatrixType, Mode > >::Scalar,
NewType >, const
SparseTriangularView
< MatrixType, Mode > > >::type 
cast () const
ConjugateReturnType conjugate () const
RealReturnType real () const
NonConstRealReturnType real ()
const ImagReturnType imag () const
NonConstImagReturnType imag ()
const CwiseUnaryOp
< CustomUnaryOp, const
SparseTriangularView
< MatrixType, Mode > > 
unaryExpr (const CustomUnaryOp &func=CustomUnaryOp()) const
 Apply a unary operator coefficient-wise.
const CwiseUnaryView
< CustomViewOp, const
SparseTriangularView
< MatrixType, Mode > > 
unaryViewExpr (const CustomViewOp &func=CustomViewOp()) const
EIGEN_STRONG_INLINE const
CwiseBinaryOp< CustomBinaryOp,
const SparseTriangularView
< MatrixType, Mode >, 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
SparseTriangularView
< MatrixType, Mode > > 
cwiseAbs () const
EIGEN_STRONG_INLINE const
CwiseUnaryOp
< internal::scalar_abs2_op
< Scalar >, const
SparseTriangularView
< MatrixType, Mode > > 
cwiseAbs2 () const
const CwiseUnaryOp
< internal::scalar_sqrt_op
< Scalar >, const
SparseTriangularView
< MatrixType, Mode > > 
cwiseSqrt () const
const CwiseUnaryOp
< internal::scalar_inverse_op
< Scalar >, const
SparseTriangularView
< MatrixType, Mode > > 
cwiseInverse () const
const CwiseUnaryOp
< std::binder1st
< std::equal_to< Scalar >
>, const SparseTriangularView
< MatrixType, Mode > > 
cwiseEqual (const Scalar &s) const
const CwiseBinaryOp
< std::equal_to< Scalar >
, const SparseTriangularView
< MatrixType, Mode >, const
OtherDerived > 
cwiseEqual (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
EIGEN_STRONG_INLINE const EIGEN_CWISE_PRODUCT_RETURN_TYPE (SparseTriangularView< MatrixType, Mode >, OtherDerived) cwiseProduct(const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
const CwiseBinaryOp
< std::not_equal_to< Scalar >
, const SparseTriangularView
< MatrixType, Mode >, const
OtherDerived > 
cwiseNotEqual (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
EIGEN_STRONG_INLINE const
CwiseBinaryOp
< internal::scalar_min_op
< Scalar >, const
SparseTriangularView
< MatrixType, Mode >, const
OtherDerived > 
cwiseMin (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
EIGEN_STRONG_INLINE const
CwiseBinaryOp
< internal::scalar_max_op
< Scalar >, const
SparseTriangularView
< MatrixType, Mode >, const
OtherDerived > 
cwiseMax (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
EIGEN_STRONG_INLINE const
CwiseBinaryOp
< internal::scalar_quotient_op
< Scalar >, const
SparseTriangularView
< MatrixType, Mode >, const
OtherDerived > 
cwiseQuotient (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
Index size () const
Index nonZeros () const
bool isVector () const
Index outerSize () const
Index innerSize () const
bool isRValue () const
SparseTriangularView
< MatrixType, Mode > & 
markAsRValue ()
void assignGeneric (const OtherDerived &other)
void _experimentalNewProduct (const Lhs &lhs, const Rhs &rhs)
SparseTriangularView
< MatrixType, Mode > & 
operator+= (const SparseMatrixBase< OtherDerived > &other)
SparseTriangularView
< MatrixType, Mode > & 
operator-= (const SparseMatrixBase< OtherDerived > &other)
SparseTriangularView
< MatrixType, Mode > & 
operator*= (const Scalar &other)
SparseTriangularView
< MatrixType, Mode > & 
operator*= (const SparseMatrixBase< OtherDerived > &other)
SparseTriangularView
< MatrixType, Mode > & 
operator/= (const Scalar &other)
EIGEN_STRONG_INLINE const
EIGEN_SPARSE_CWISE_PRODUCT_RETURN_TYPE 
cwiseProduct (const MatrixBase< OtherDerived > &other) const
const SparseTriangularView
< SparseTriangularView
< MatrixType, Mode >, Mode > 
triangularView () const
const SparseSelfAdjointView
< SparseTriangularView
< MatrixType, Mode >, UpLo > 
selfadjointView () const
SparseSelfAdjointView
< SparseTriangularView
< MatrixType, Mode >, UpLo > 
selfadjointView ()
Scalar dot (const MatrixBase< OtherDerived > &other) const
Scalar dot (const SparseMatrixBase< OtherDerived > &other) const
RealScalar squaredNorm () const
RealScalar norm () const
Transpose
< SparseTriangularView
< MatrixType, Mode > > 
transpose ()
const Transpose< const
SparseTriangularView
< MatrixType, Mode > > 
transpose () const
const AdjointReturnType adjoint () const
SparseInnerVectorSet
< SparseTriangularView
< MatrixType, Mode >, 1 > 
row (Index i)
const SparseInnerVectorSet
< SparseTriangularView
< MatrixType, Mode >, 1 > 
row (Index i) const
SparseInnerVectorSet
< SparseTriangularView
< MatrixType, Mode >, 1 > 
col (Index j)
const SparseInnerVectorSet
< SparseTriangularView
< MatrixType, Mode >, 1 > 
col (Index j) const
SparseInnerVectorSet
< SparseTriangularView
< MatrixType, Mode >, 1 > 
innerVector (Index outer)
const SparseInnerVectorSet
< SparseTriangularView
< MatrixType, Mode >, 1 > 
innerVector (Index outer) const
SparseInnerVectorSet
< SparseTriangularView
< MatrixType, Mode >, Dynamic
subrows (Index start, Index size)
const SparseInnerVectorSet
< SparseTriangularView
< MatrixType, Mode >, Dynamic
subrows (Index start, Index size) const
SparseInnerVectorSet
< SparseTriangularView
< MatrixType, Mode >, Dynamic
subcols (Index start, Index size)
const SparseInnerVectorSet
< SparseTriangularView
< MatrixType, Mode >, Dynamic
subcols (Index start, Index size) const
SparseInnerVectorSet
< SparseTriangularView
< MatrixType, Mode >, Dynamic
innerVectors (Index outerStart, Index outerSize)
const SparseInnerVectorSet
< SparseTriangularView
< MatrixType, Mode >, 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
< SparseTriangularView
< MatrixType, Mode > >::type 
eval () const
Scalar sum () const
SparseTriangularView
< MatrixType, Mode > & 
derived ()
const SparseTriangularView
< MatrixType, Mode > & 
derived () const
SparseTriangularView
< MatrixType, Mode > & 
const_cast_derived () const
const SparseTriangularView
< MatrixType, Mode > & 
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

MatrixTypeNested m_matrix
bool m_isRValue

Private Types

enum  { SkipFirst }

Friends

const ScalarMultipleReturnType operator* (const Scalar &scalar, const StorageBaseType &matrix)
const CwiseUnaryOp
< internal::scalar_multiple2_op
< Scalar, std::complex< Scalar >
>, const SparseTriangularView
< MatrixType, Mode > > 
operator* (const std::complex< Scalar > &scalar, const StorageBaseType &matrix)
const SparseDiagonalProduct
< OtherDerived,
SparseTriangularView
< MatrixType, Mode > > 
operator* (const DiagonalBase< OtherDerived > &lhs, const SparseMatrixBase &rhs)
const
DenseSparseProductReturnType
< OtherDerived,
SparseTriangularView
< MatrixType, Mode > >::Type 
operator* (const MatrixBase< OtherDerived > &lhs, const SparseTriangularView< MatrixType, Mode > &rhs)
 dense * sparse (return a dense object unless it is an outer product)
std::ostream & operator<< (std::ostream &s, const SparseMatrixBase &m)

Member Typedef Documentation

Definition at line 124 of file Sparse.

typedef EigenBase<SparseTriangularView< MatrixType, Mode > > Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::Base [inherited]

Definition at line 50 of file Sparse.

typedef internal::traits<SparseTriangularView< MatrixType, Mode > >::Index Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::Index [inherited]

Reimplemented from Eigen::EigenBase< SparseTriangularView< MatrixType, Mode > >.

Definition at line 47 of file Sparse.

template<typename MatrixType , int Mode>
typedef internal::conditional<internal::must_nest_by_value<MatrixType>::ret, MatrixType, const MatrixType&>::type Eigen::SparseTriangularView< MatrixType, Mode >::MatrixTypeNested

Definition at line 53 of file Sparse.

Definition at line 45 of file Sparse.

typedef SparseMatrix<Scalar, Flags&RowMajorBit ? RowMajor : ColMajor> Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::PlainObject [inherited]

Definition at line 127 of file Sparse.

typedef internal::traits<SparseTriangularView< MatrixType, Mode > >::Scalar Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::Scalar [inherited]

Definition at line 44 of file Sparse.

Definition at line 49 of file Sparse.

typedef internal::traits<SparseTriangularView< MatrixType, Mode > >::StorageKind Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::StorageKind [inherited]

Reimplemented from Eigen::EigenBase< SparseTriangularView< MatrixType, Mode > >.

Definition at line 46 of file Sparse.


Member Enumeration Documentation

anonymous enum [inherited]

Definition at line 61 of file Sparse.

template<typename MatrixType , int Mode>
anonymous enum [private]
Enumerator:
SkipFirst 

Definition at line 41 of file Sparse.


Constructor & Destructor Documentation

template<typename MatrixType , int Mode>
Eigen::SparseTriangularView< MatrixType, Mode >::SparseTriangularView ( const MatrixType &  matrix) [inline]

Definition at line 55 of file Sparse.


Member Function Documentation

void Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::_experimentalNewProduct ( const Lhs &  lhs,
const Rhs &  rhs 
) [inline, inherited]
void Eigen::EigenBase< SparseTriangularView< MatrixType, Mode > >::addTo ( Dest &  dst) const [inline, inherited]

Definition at line 71 of file Core.

const AdjointReturnType Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::adjoint ( ) const [inline, inherited]

Definition at line 430 of file Sparse.

void Eigen::EigenBase< SparseTriangularView< MatrixType, Mode > >::applyThisOnTheLeft ( Dest &  dst) const [inline, inherited]

Definition at line 99 of file Core.

void Eigen::EigenBase< SparseTriangularView< MatrixType, Mode > >::applyThisOnTheRight ( Dest &  dst) const [inline, inherited]

Definition at line 91 of file Core.

void Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::assignGeneric ( const OtherDerived &  other) [inline, inherited]

Definition at line 211 of file Sparse.

EIGEN_STRONG_INLINE const CwiseBinaryOp<CustomBinaryOp, const SparseTriangularView< MatrixType, Mode > , const OtherDerived> Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::binaryExpr ( const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &  other,
const CustomBinaryOp &  func = CustomBinaryOp() 
) const [inline, inherited]
Returns:
an expression of the difference of *this and other
Note:
If you want to substract a given scalar from all coefficients, see Cwise::operator-().
See also:
class CwiseBinaryOp, operator-=()
Returns:
an expression of the sum of *this and other
Note:
If you want to add a given scalar to all coefficients, see Cwise::operator+().
See also:
class CwiseBinaryOp, operator+=()
Returns:
an expression of a custom coefficient-wise operator func of *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:

See also:
class CwiseBinaryOp, operator+(), operator-(), cwiseProduct()

Definition at line 58 of file Sparse.

internal::cast_return_type<SparseTriangularView< MatrixType, Mode > ,const CwiseUnaryOp<internal::scalar_cast_op<typename internal::traits<SparseTriangularView< MatrixType, Mode > >::Scalar, NewType>, const SparseTriangularView< MatrixType, Mode > > >::type Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::cast ( ) const [inline, inherited]
Returns:
an expression of *this with the Scalar type casted to NewScalar.

The template parameter NewScalar is the type we are casting the scalars to.

See also:
class CwiseUnaryOp

Definition at line 108 of file Sparse.

SparseInnerVectorSet<SparseTriangularView< MatrixType, Mode > ,1> Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::col ( Index  j) [inherited]
Returns:
the i-th column of the matrix *this. For column-major matrix only.
const SparseInnerVectorSet<SparseTriangularView< MatrixType, Mode > ,1> Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::col ( Index  j) const [inherited]
Returns:
the i-th column of the matrix *this. For column-major matrix only. (read-only version)
template<typename MatrixType , int Mode>
Index Eigen::SparseTriangularView< MatrixType, Mode >::cols ( void  ) const [inline]
Returns:
the number of columns.
See also:
rows(), ColsAtCompileTime

Reimplemented from Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >.

Definition at line 50 of file Sparse.

ConjugateReturnType Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::conjugate ( ) const [inline, inherited]
Returns:
an expression of the complex conjugate of *this.
See also:
adjoint()

Definition at line 117 of file Sparse.

SparseTriangularView< MatrixType, Mode > & Eigen::EigenBase< SparseTriangularView< MatrixType, Mode > >::const_cast_derived ( ) const [inline, inherited]

Definition at line 53 of file Core.

const SparseTriangularView< MatrixType, Mode > & Eigen::EigenBase< SparseTriangularView< MatrixType, Mode > >::const_derived ( ) const [inline, inherited]

Definition at line 55 of file Core.

EIGEN_STRONG_INLINE const CwiseUnaryOp<internal::scalar_abs_op<Scalar>, const SparseTriangularView< MatrixType, Mode > > Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::cwiseAbs ( ) const [inline, inherited]
Returns:
an expression of the coefficient-wise absolute value of *this

Example:

Output:

See also:
cwiseAbs2()

Definition at line 37 of file Sparse.

EIGEN_STRONG_INLINE const CwiseUnaryOp<internal::scalar_abs2_op<Scalar>, const SparseTriangularView< MatrixType, Mode > > Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::cwiseAbs2 ( ) const [inline, inherited]
Returns:
an expression of the coefficient-wise squared absolute value of *this

Example:

Output:

See also:
cwiseAbs()

Definition at line 47 of file Sparse.

const CwiseUnaryOp<std::binder1st<std::equal_to<Scalar> >, const SparseTriangularView< MatrixType, Mode > > Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::cwiseEqual ( const Scalar s) const [inline, inherited]
Returns:
an expression of the coefficient-wise == operator of *this and a scalar s
Warning:
this performs an exact comparison, which is generally a bad idea with floating-point types. In order to check for equality between two vectors or matrices with floating-point coefficients, it is generally a far better idea to use a fuzzy comparison as provided by isApprox() and isMuchSmallerThan().
See also:
cwiseEqual(const MatrixBase<OtherDerived> &) const

Definition at line 79 of file Sparse.

const CwiseBinaryOp<std::equal_to<Scalar>, const SparseTriangularView< MatrixType, Mode > , const OtherDerived> Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::cwiseEqual ( const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &  other) const [inline, inherited]
Returns:
an expression of the coefficient-wise == operator of *this and other
Warning:
this performs an exact comparison, which is generally a bad idea with floating-point types. In order to check for equality between two vectors or matrices with floating-point coefficients, it is generally a far better idea to use a fuzzy comparison as provided by isApprox() and isMuchSmallerThan().

Example:

Output:

See also:
cwiseNotEqual(), isApprox(), isMuchSmallerThan()

Definition at line 57 of file Sparse.

const CwiseUnaryOp<internal::scalar_inverse_op<Scalar>, const SparseTriangularView< MatrixType, Mode > > Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::cwiseInverse ( ) const [inline, inherited]
Returns:
an expression of the coefficient-wise inverse of *this.

Example:

Output:

See also:
cwiseProduct()

Definition at line 67 of file Sparse.

EIGEN_STRONG_INLINE const CwiseBinaryOp<internal::scalar_max_op<Scalar>, const SparseTriangularView< MatrixType, Mode > , const OtherDerived> Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::cwiseMax ( const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &  other) const [inline, inherited]
Returns:
an expression of the coefficient-wise max of *this and other

Example:

Output:

See also:
class CwiseBinaryOp, min()

Definition at line 104 of file Sparse.

EIGEN_STRONG_INLINE const CwiseBinaryOp<internal::scalar_min_op<Scalar>, const SparseTriangularView< MatrixType, Mode > , const OtherDerived> Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::cwiseMin ( const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &  other) const [inline, inherited]
Returns:
an expression of the coefficient-wise min of *this and other

Example:

Output:

See also:
class CwiseBinaryOp, max()

Definition at line 90 of file Sparse.

const CwiseBinaryOp<std::not_equal_to<Scalar>, const SparseTriangularView< MatrixType, Mode > , const OtherDerived> Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::cwiseNotEqual ( const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &  other) const [inline, inherited]
Returns:
an expression of the coefficient-wise != operator of *this and other
Warning:
this performs an exact comparison, which is generally a bad idea with floating-point types. In order to check for equality between two vectors or matrices with floating-point coefficients, it is generally a far better idea to use a fuzzy comparison as provided by isApprox() and isMuchSmallerThan().

Example:

Output:

See also:
cwiseEqual(), isApprox(), isMuchSmallerThan()

Definition at line 76 of file Sparse.

EIGEN_STRONG_INLINE const EIGEN_SPARSE_CWISE_PRODUCT_RETURN_TYPE Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::cwiseProduct ( const MatrixBase< OtherDerived > &  other) const [inherited]
EIGEN_STRONG_INLINE const CwiseBinaryOp<internal::scalar_quotient_op<Scalar>, const SparseTriangularView< MatrixType, Mode > , const OtherDerived> Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::cwiseQuotient ( const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &  other) const [inline, inherited]
Returns:
an expression of the coefficient-wise quotient of *this and other

Example:

Output:

See also:
class CwiseBinaryOp, cwiseProduct(), cwiseInverse()

Definition at line 118 of file Sparse.

const CwiseUnaryOp<internal::scalar_sqrt_op<Scalar>, const SparseTriangularView< MatrixType, Mode > > Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::cwiseSqrt ( ) const [inline, inherited]
Returns:
an expression of the coefficient-wise square root of *this.

Example:

Output:

See also:
cwisePow(), cwiseSquare()

Definition at line 57 of file Sparse.

SparseTriangularView< MatrixType, Mode > & Eigen::EigenBase< SparseTriangularView< MatrixType, Mode > >::derived ( ) [inline, inherited]
Returns:
a reference to the derived object

Definition at line 49 of file Core.

const SparseTriangularView< MatrixType, Mode > & Eigen::EigenBase< SparseTriangularView< MatrixType, Mode > >::derived ( ) const [inline, inherited]
Returns:
a const reference to the derived object

Definition at line 51 of file Core.

Scalar Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::dot ( const MatrixBase< OtherDerived > &  other) const [inherited]
Scalar Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::dot ( const SparseMatrixBase< OtherDerived > &  other) const [inherited]
EIGEN_STRONG_INLINE const Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::EIGEN_CWISE_PRODUCT_RETURN_TYPE ( SparseTriangularView< MatrixType, Mode >  ,
OtherDerived   
) const [inline, inherited]
Returns:
an expression of the Schur product (coefficient wise product) of *this and other

Example:

Output:

See also:
class CwiseBinaryOp, cwiseAbs2

Definition at line 37 of file Sparse.

const internal::eval<SparseTriangularView< MatrixType, Mode > >::type Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::eval ( ) const [inline, inherited]
Returns:
the matrix or vector obtained by evaluating this expression.

Notice that in the case of a plain matrix or vector (not an expression) this function just returns a const reference, in order to avoid a useless copy.

Definition at line 577 of file Sparse.

void Eigen::EigenBase< SparseTriangularView< MatrixType, Mode > >::evalTo ( Dest &  dst) const [inline, inherited]

Definition at line 67 of file Core.

void Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::evalTo ( MatrixBase< DenseDerived > &  dst) const [inline, inherited]

Definition at line 518 of file Sparse.

const ImagReturnType Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::imag ( ) const [inline, inherited]
Returns:
an read-only expression of the imaginary part of *this.
See also:
real()

Definition at line 132 of file Sparse.

NonConstImagReturnType Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::imag ( ) [inline, inherited]
Returns:
a non const expression of the imaginary part of *this.
See also:
real()

Definition at line 188 of file Sparse.

Index Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::innerSize ( ) const [inline, inherited]
Returns:
the size of the inner dimension according to the storage order, i.e., the number of rows for a columns major matrix, and the number of cols otherwise

Definition at line 185 of file Sparse.

SparseInnerVectorSet<SparseTriangularView< MatrixType, Mode > ,1> Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::innerVector ( Index  outer) [inherited]
Returns:
the outer -th column (resp. row) of the matrix *this if *this is col-major (resp. row-major).
const SparseInnerVectorSet<SparseTriangularView< MatrixType, Mode > ,1> Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::innerVector ( Index  outer) const [inherited]
Returns:
the outer -th column (resp. row) of the matrix *this if *this is col-major (resp. row-major). Read-only.
SparseInnerVectorSet<SparseTriangularView< MatrixType, Mode > ,Dynamic> Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::innerVectors ( Index  outerStart,
Index  outerSize 
) [inherited]
Returns:
the outer -th column (resp. row) of the matrix *this if *this is col-major (resp. row-major).
const SparseInnerVectorSet<SparseTriangularView< MatrixType, Mode > ,Dynamic> Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::innerVectors ( Index  outerStart,
Index  outerSize 
) const [inherited]
Returns:
the outer -th column (resp. row) of the matrix *this if *this is col-major (resp. row-major). Read-only.
bool Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::isApprox ( const SparseMatrixBase< OtherDerived > &  other,
RealScalar  prec = NumTraits<Scalar>::dummy_precision() 
) const [inline, inherited]

Definition at line 532 of file Sparse.

bool Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::isApprox ( const MatrixBase< OtherDerived > &  other,
RealScalar  prec = NumTraits<Scalar>::dummy_precision() 
) const [inline, inherited]

Definition at line 537 of file Sparse.

bool Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::isRValue ( ) const [inline, inherited]

Definition at line 187 of file Sparse.

bool Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::isVector ( ) const [inline, inherited]
Returns:
true if either the number of rows or the number of columns is equal to 1. In other words, this function returns
 rows()==1 || cols()==1 
See also:
rows(), cols(), IsVectorAtCompileTime.

Definition at line 179 of file Sparse.

SparseTriangularView< MatrixType, Mode > & Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::markAsRValue ( ) [inline, inherited]

Definition at line 188 of file Sparse.

template<typename MatrixType , int Mode>
const MatrixType& Eigen::SparseTriangularView< MatrixType, Mode >::nestedExpression ( ) const [inline]

Definition at line 58 of file Sparse.

Index Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::nonZeros ( ) const [inline, inherited]
Returns:
the number of nonzero coefficients which is in practice the number of stored coefficients.

Definition at line 174 of file Sparse.

RealScalar Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::norm ( ) const [inherited]
const ScalarMultipleReturnType Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::operator* ( const RealScalar &  scalar) const [inherited]
const ScalarMultipleReturnType Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::operator* ( const Scalar scalar) const [inline, inherited]
Returns:
an expression of *this scaled by the scalar factor scalar

Definition at line 65 of file Sparse.

const CwiseUnaryOp<internal::scalar_multiple2_op<Scalar,std::complex<Scalar> >, const SparseTriangularView< MatrixType, Mode > > Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::operator* ( const std::complex< Scalar > &  scalar) const [inline, inherited]

Overloaded for efficient real matrix times complex scalar value.

Definition at line 85 of file Sparse.

const SparseSparseProductReturnType<SparseTriangularView< MatrixType, Mode > ,OtherDerived>::Type Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::operator* ( const SparseMatrixBase< OtherDerived > &  other) const [inherited]
const SparseDiagonalProduct<SparseTriangularView< MatrixType, Mode > ,OtherDerived> Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::operator* ( const DiagonalBase< OtherDerived > &  other) const [inherited]
const SparseDenseProductReturnType<SparseTriangularView< MatrixType, Mode > ,OtherDerived>::Type Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::operator* ( const MatrixBase< OtherDerived > &  other) const [inherited]

sparse * dense (returns a dense object unless it is an outer product)

SparseTriangularView< MatrixType, Mode > & Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::operator*= ( const SparseMatrixBase< OtherDerived > &  other) [inherited]
SparseTriangularView< MatrixType, Mode > & Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::operator*= ( const Scalar other) [inherited]
SparseTriangularView< MatrixType, Mode > & Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::operator+= ( const SparseMatrixBase< OtherDerived > &  other) [inherited]
const CwiseUnaryOp<internal::scalar_opposite_op<typename internal::traits<SparseTriangularView< MatrixType, Mode > >::Scalar>, const SparseTriangularView< MatrixType, Mode > > Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::operator- ( ) const [inline, inherited]
Returns:
an expression of the opposite of *this

Definition at line 60 of file Sparse.

SparseTriangularView< MatrixType, Mode > & Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::operator-= ( const SparseMatrixBase< OtherDerived > &  other) [inherited]
const CwiseUnaryOp<internal::scalar_quotient1_op<typename internal::traits<SparseTriangularView< MatrixType, Mode > >::Scalar>, const SparseTriangularView< MatrixType, Mode > > Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::operator/ ( const Scalar scalar) const [inline, inherited]
Returns:
an expression of *this divided by the scalar value scalar

Definition at line 77 of file Sparse.

SparseTriangularView< MatrixType, Mode > & Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::operator/= ( const Scalar other) [inherited]
Index Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::outerSize ( ) const [inline, inherited]
Returns:
the size of the storage major dimension, i.e., the number of columns for a columns major matrix, and the number of rows otherwise

Definition at line 182 of file Sparse.

RealReturnType Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::real ( ) const [inline, inherited]
Returns:
a read-only expression of the real part of *this.
See also:
imag()

Definition at line 126 of file Sparse.

NonConstRealReturnType Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::real ( ) [inline, inherited]
Returns:
a non const expression of the real part of *this.
See also:
imag()

Definition at line 182 of file Sparse.

const SparseInnerVectorSet<SparseTriangularView< MatrixType, Mode > ,1> Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::row ( Index  i) const [inherited]
Returns:
the i-th row of the matrix *this. For row-major matrix only. (read-only version)
SparseInnerVectorSet<SparseTriangularView< MatrixType, Mode > ,1> Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::row ( Index  i) [inherited]
Returns:
the i-th row of the matrix *this. For row-major matrix only.
template<typename MatrixType , int Mode>
Index Eigen::SparseTriangularView< MatrixType, Mode >::rows ( void  ) const [inline]
Returns:
the number of rows.
See also:
cols(), RowsAtCompileTime

Reimplemented from Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >.

Definition at line 49 of file Sparse.

const SparseSelfAdjointView<SparseTriangularView< MatrixType, Mode > , UpLo> Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::selfadjointView ( ) const [inline, inherited]
SparseSelfAdjointView<SparseTriangularView< MatrixType, Mode > , UpLo> Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::selfadjointView ( ) [inline, inherited]
Index Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::size ( ) const [inline, inherited]
Returns:
the number of coefficients, which is rows()*cols().
See also:
rows(), cols(), SizeAtCompileTime.

Reimplemented from Eigen::EigenBase< SparseTriangularView< MatrixType, Mode > >.

Definition at line 171 of file Sparse.

template<typename ExpressionType , int Mode>
template<typename OtherDerived >
internal::plain_matrix_type_column_major< OtherDerived >::type Eigen::SparseTriangularView< ExpressionType, Mode >::solve ( const MatrixBase< OtherDerived > &  other) const

Definition at line 192 of file Sparse.

template<typename ExpressionType , int Mode>
template<typename OtherDerived >
void Eigen::SparseTriangularView< ExpressionType, Mode >::solveInPlace ( SparseMatrixBase< OtherDerived > &  other) const

Definition at line 297 of file Sparse.

template<typename ExpressionType , int Mode>
template<typename OtherDerived >
void Eigen::SparseTriangularView< ExpressionType, Mode >::solveInPlace ( MatrixBase< OtherDerived > &  other) const

Definition at line 170 of file Sparse.

RealScalar Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::squaredNorm ( ) const [inherited]
const SparseInnerVectorSet<SparseTriangularView< MatrixType, Mode > ,Dynamic> Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::subcols ( Index  start,
Index  size 
) const [inherited]
Returns:
the i-th column of the matrix *this. For column-major matrix only. (read-only version)
SparseInnerVectorSet<SparseTriangularView< MatrixType, Mode > ,Dynamic> Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::subcols ( Index  start,
Index  size 
) [inherited]
Returns:
the i-th column of the matrix *this. For column-major matrix only.
SparseInnerVectorSet<SparseTriangularView< MatrixType, Mode > ,Dynamic> Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::subrows ( Index  start,
Index  size 
) [inherited]
Returns:
the i-th row of the matrix *this. For row-major matrix only.
const SparseInnerVectorSet<SparseTriangularView< MatrixType, Mode > ,Dynamic> Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::subrows ( Index  start,
Index  size 
) const [inherited]
Returns:
the i-th row of the matrix *this. For row-major matrix only. (read-only version)
void Eigen::EigenBase< SparseTriangularView< MatrixType, Mode > >::subTo ( Dest &  dst) const [inline, inherited]

Definition at line 81 of file Core.

Scalar Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::sum ( ) const [inherited]
Returns:
number of elements to skip to pass from one row (resp. column) to another for a row-major (resp. column-major) matrix. Combined with coeffRef() and the Flags flags, it allows a direct access to the data of the underlying matrix.
Matrix<Scalar,RowsAtCompileTime,ColsAtCompileTime> Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::toDense ( ) const [inline, inherited]

Definition at line 526 of file Sparse.

const Transpose<const SparseTriangularView< MatrixType, Mode > > Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::transpose ( ) const [inline, inherited]

Definition at line 428 of file Sparse.

Transpose<SparseTriangularView< MatrixType, Mode > > Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::transpose ( ) [inline, inherited]

Definition at line 427 of file Sparse.

const SparseTriangularView<SparseTriangularView< MatrixType, Mode > , Mode> Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::triangularView ( ) const [inline, inherited]
const CwiseUnaryOp<CustomUnaryOp, const SparseTriangularView< MatrixType, Mode > > Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::unaryExpr ( const CustomUnaryOp &  func = CustomUnaryOp()) const [inline, inherited]

Apply a unary operator coefficient-wise.

Parameters:
[in]funcFunctor implementing the unary operator
Template Parameters:
CustomUnaryOpType of func
Returns:
An expression of a custom coefficient-wise unary operator func of *this

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:

See also:
class CwiseUnaryOp, class CwiseBinaryOp

Definition at line 155 of file Sparse.

const CwiseUnaryView<CustomViewOp, const SparseTriangularView< MatrixType, Mode > > Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::unaryViewExpr ( const CustomViewOp &  func = CustomViewOp()) const [inline, inherited]
Returns:
an expression of a custom coefficient-wise unary operator func of *this

The template parameter CustomUnaryOp is the type of the functor of the custom unary operator.

Example:

Output:

See also:
class CwiseUnaryOp, class CwiseBinaryOp

Definition at line 173 of file Sparse.


Friends And Related Function Documentation

const ScalarMultipleReturnType operator* ( const Scalar scalar,
const StorageBaseType matrix 
) [friend, inherited]

Definition at line 92 of file Sparse.

const CwiseUnaryOp<internal::scalar_multiple2_op<Scalar,std::complex<Scalar> >, const SparseTriangularView< MatrixType, Mode > > operator* ( const std::complex< Scalar > &  scalar,
const StorageBaseType matrix 
) [friend, inherited]

Definition at line 96 of file Sparse.

const DenseSparseProductReturnType<OtherDerived,SparseTriangularView< MatrixType, Mode > >::Type operator* ( const MatrixBase< OtherDerived > &  lhs,
const SparseTriangularView< MatrixType, Mode > &  rhs 
) [friend, inherited]

dense * sparse (return a dense object unless it is an outer product)

Definition at line 390 of file Sparse.

const SparseDiagonalProduct<OtherDerived,SparseTriangularView< MatrixType, Mode > > operator* ( const DiagonalBase< OtherDerived > &  lhs,
const SparseMatrixBase< SparseTriangularView< MatrixType, Mode > > &  rhs 
) [friend, inherited]

Definition at line 384 of file Sparse.

std::ostream& operator<< ( std::ostream &  s,
const SparseMatrixBase< SparseTriangularView< MatrixType, Mode > > &  m 
) [friend, inherited]

Definition at line 282 of file Sparse.


Member Data Documentation

bool Eigen::SparseMatrixBase< SparseTriangularView< MatrixType, Mode > >::m_isRValue [protected, inherited]

Definition at line 703 of file Sparse.

template<typename MatrixType , int Mode>
MatrixTypeNested Eigen::SparseTriangularView< MatrixType, Mode >::m_matrix [protected]

Definition at line 68 of file Sparse.




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:
SourceForge.net Logo