Public Types | Public Member Functions | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Types | List of all members
Eigen::BlockImpl< XprType, BlockRows, BlockCols, true, Sparse > Class Template Reference

#include <SparseBlock.h>

Inheritance diagram for Eigen::BlockImpl< XprType, BlockRows, BlockCols, true, Sparse >:
Inheritance graph
[legend]

Public Types

enum  { IsRowMajor = internal::traits<BlockType>::IsRowMajor }
 
- Public Types inherited from Eigen::SparseMatrixBase< Block< XprType, BlockRows, BlockCols, true > >
enum  
 
typedef internal::conditional< NumTraits< Scalar >::IsComplex, CwiseUnaryOp< internal::scalar_conjugate_op< Scalar >, Eigen::Transpose< const Derived > >, Transpose< const Derived > >::type AdjointReturnType
 
typedef EigenBase< Derived > Base
 
typedef internal::conditional< _HasDirectAccess, const Scalar &, Scalar >::type CoeffReturnType
 
typedef CwiseNullaryOp< internal::scalar_constant_op< Scalar >, Matrix< Scalar, Dynamic, Dynamic > > ConstantReturnType
 
typedef internal::add_const< Transpose< const Derived > >::type ConstTransposeReturnType
 
typedef Matrix< Scalar, RowsAtCompileTime, ColsAtCompileTimeDenseMatrixType
 
typedef Matrix< StorageIndex, Dynamic, 1 > IndexVector
 
typedef internal::add_const_on_value_type_if_arithmetic< typename internal::packet_traits< Scalar >::type >::type PacketReturnType
 
typedef internal::packet_traits< Scalar >::type PacketScalar
 
typedef SparseMatrix< Scalar, Flags &RowMajorBit ? RowMajor :ColMajor, StorageIndexPlainObject
 
typedef NumTraits< Scalar >::Real RealScalar
 
typedef internal::traits< Derived >::Scalar Scalar
 
typedef Matrix< Scalar, Dynamic, 1 > ScalarVector
 
typedef Matrix< Scalar, EIGEN_SIZE_MAX(RowsAtCompileTime, ColsAtCompileTime), EIGEN_SIZE_MAX(RowsAtCompileTime, ColsAtCompileTime)> SquareMatrixType
 
typedef SparseMatrixBase StorageBaseType
 
typedef internal::traits< Derived >::StorageIndex StorageIndex
 
typedef internal::traits< Derived >::StorageKind StorageKind
 
typedef Transpose< Derived > TransposeReturnType
 
typedef Scalar value_type
 

Public Member Functions

Index blockCols () const
 
 BlockImpl (XprType &xpr, Index i)
 
 BlockImpl (XprType &xpr, Index startRow, Index startCol, Index blockRows, Index blockCols)
 
Index blockRows () const
 
const Scalar coeff (Index index) const
 
const Scalar coeff (Index row, Index col) const
 
EIGEN_STRONG_INLINE Index cols () const
 
XprTypenestedExpression ()
 
const XprTypenestedExpression () const
 
Index nonZeros () const
 
EIGEN_STRONG_INLINE Index rows () const
 
Index startCol () const
 
Index startRow () const
 
- Public Member Functions inherited from Eigen::SparseMatrixBase< Block< XprType, BlockRows, BlockCols, true > >
const AdjointReturnType adjoint () const
 
RealScalar blueNorm () const
 
Index cols () const
 
Derived & const_cast_derived () const
 
const EIGEN_STRONG_INLINE CwiseProductDenseReturnType< OtherDerived >::Type cwiseProduct (const MatrixBase< OtherDerived > &other) const
 
const EIGEN_STRONG_INLINE SparseMatrixBase< Derived >::template CwiseProductDenseReturnType< OtherDerived >::Type cwiseProduct (const MatrixBase< OtherDerived > &other) const
 
Derived & derived ()
 
const Derived & derived () const
 
internal::traits< Derived >::Scalar dot (const MatrixBase< OtherDerived > &other) const
 
Scalar dot (const MatrixBase< OtherDerived > &other) const
 
internal::traits< Derived >::Scalar dot (const SparseMatrixBase< OtherDerived > &other) const
 
Scalar dot (const SparseMatrixBase< OtherDerived > &other) const
 
const internal::eval< Derived >::type eval () const
 
Index innerSize () const
 
bool isApprox (const MatrixBase< OtherDerived > &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
bool isApprox (const SparseMatrixBase< OtherDerived > &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
bool isRValue () const
 
bool isVector () const
 
Derived & markAsRValue ()
 
RealScalar norm () const
 
const Product< Derived, OtherDerived > operator* (const DiagonalBase< OtherDerived > &other) const
 
const Product< Derived, OtherDerived > operator* (const MatrixBase< OtherDerived > &other) const
 
const Product< Derived, OtherDerived, AliasFreeProduct > operator* (const SparseMatrixBase< OtherDerived > &other) const
 
EIGEN_STRONG_INLINE Derived & operator*= (const Scalar &other)
 
Derived & operator*= (const Scalar &other)
 
Derived & operator*= (const SparseMatrixBase< OtherDerived > &other)
 
Derived & operator+= (const DiagonalBase< OtherDerived > &other)
 
Derived & operator+= (const EigenBase< OtherDerived > &other)
 
Derived & operator+= (const SparseMatrixBase< OtherDerived > &other)
 
EIGEN_STRONG_INLINE Derived & operator+= (const SparseMatrixBase< OtherDerived > &other)
 
Derived & operator-= (const DiagonalBase< OtherDerived > &other)
 
Derived & operator-= (const EigenBase< OtherDerived > &other)
 
Derived & operator-= (const SparseMatrixBase< OtherDerived > &other)
 
EIGEN_STRONG_INLINE Derived & operator-= (const SparseMatrixBase< OtherDerived > &other)
 
Derived & operator/= (const Scalar &other)
 
Derived & operator= (const Derived &other)
 
Derived & operator= (const Derived &other)
 
Derived & operator= (const EigenBase< OtherDerived > &other)
 
Derived & operator= (const ReturnByValue< OtherDerived > &other)
 
Derived & operator= (const SparseMatrixBase< OtherDerived > &other)
 
Index outerSize () const
 
const SparseView< Derived > pruned (const Scalar &reference=Scalar(0), const RealScalar &epsilon=NumTraits< Scalar >::dummy_precision()) const
 
Index rows () const
 
SparseMatrixBase< Derived >::template SelfAdjointViewReturnType< UpLo >::Type selfadjointView ()
 
SelfAdjointViewReturnType< UpLo >::Type selfadjointView ()
 
SparseMatrixBase< Derived >::template ConstSelfAdjointViewReturnType< UpLo >::Type selfadjointView () const
 
ConstSelfAdjointViewReturnType< UpLo >::Type selfadjointView () const
 
Index size () const
 
 SparseMatrixBase ()
 
RealScalar squaredNorm () const
 
Scalar sum () const
 
DenseMatrixType toDense () const
 
TransposeReturnType transpose ()
 
const ConstTransposeReturnType transpose () const
 
const TriangularView< const Derived, Mode > triangularView () const
 
SparseSymmetricPermutationProduct< Derived, Upper|Lower > twistedBy (const PermutationMatrix< Dynamic, Dynamic, StorageIndex > &perm) const
 

Protected Types

enum  { OuterSize = IsRowMajor ? BlockRows : BlockCols }
 
typedef SparseMatrixBase< BlockTypeBase
 

Protected Member Functions

template<typename T >
BlockImploperator= (const T &)
 
- Protected Member Functions inherited from Eigen::SparseMatrixBase< Block< XprType, BlockRows, BlockCols, true > >
Derived & assign (const OtherDerived &other)
 
void assignGeneric (const OtherDerived &other)
 

Static Protected Member Functions

static StorageIndex convert_index (const Index idx)
 
- Static Protected Member Functions inherited from Eigen::SparseMatrixBase< Block< XprType, BlockRows, BlockCols, true > >
static StorageIndex convert_index (const Index idx)
 

Protected Attributes

internal::ref_selector< XprType >::non_const_type m_matrix
 
const internal::variable_if_dynamic< Index, OuterSizem_outerSize
 
Index m_outerStart
 
- Protected Attributes inherited from Eigen::SparseMatrixBase< Block< XprType, BlockRows, BlockCols, true > >
bool m_isRValue
 

Private Types

typedef internal::remove_all< typename XprType::Nested >::type _MatrixTypeNested
 
typedef Block< XprType, BlockRows, BlockCols, true > BlockType
 

Detailed Description

template<typename XprType, int BlockRows, int BlockCols>
class Eigen::BlockImpl< XprType, BlockRows, BlockCols, true, Sparse >

Definition at line 17 of file SparseBlock.h.

Member Typedef Documentation

◆ _MatrixTypeNested

template<typename XprType , int BlockRows, int BlockCols>
typedef internal::remove_all<typename XprType::Nested>::type Eigen::BlockImpl< XprType, BlockRows, BlockCols, true, Sparse >::_MatrixTypeNested
private

Definition at line 20 of file SparseBlock.h.

◆ Base

template<typename XprType , int BlockRows, int BlockCols>
typedef SparseMatrixBase<BlockType> Eigen::BlockImpl< XprType, BlockRows, BlockCols, true, Sparse >::Base
protected

Definition at line 26 of file SparseBlock.h.

◆ BlockType

template<typename XprType , int BlockRows, int BlockCols>
typedef Block<XprType, BlockRows, BlockCols, true> Eigen::BlockImpl< XprType, BlockRows, BlockCols, true, Sparse >::BlockType
private

Definition at line 21 of file SparseBlock.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename XprType , int BlockRows, int BlockCols>
anonymous enum
Enumerator
IsRowMajor 

Definition at line 23 of file SparseBlock.h.

◆ anonymous enum

template<typename XprType , int BlockRows, int BlockCols>
anonymous enum
protected
Enumerator
OuterSize 

Definition at line 25 of file SparseBlock.h.

Constructor & Destructor Documentation

◆ BlockImpl() [1/2]

template<typename XprType , int BlockRows, int BlockCols>
Eigen::BlockImpl< XprType, BlockRows, BlockCols, true, Sparse >::BlockImpl ( XprType xpr,
Index  i 
)
inline

Definition at line 31 of file SparseBlock.h.

◆ BlockImpl() [2/2]

template<typename XprType , int BlockRows, int BlockCols>
Eigen::BlockImpl< XprType, BlockRows, BlockCols, true, Sparse >::BlockImpl ( XprType xpr,
Index  startRow,
Index  startCol,
Index  blockRows,
Index  blockCols 
)
inline

Definition at line 35 of file SparseBlock.h.

Member Function Documentation

◆ blockCols()

template<typename XprType , int BlockRows, int BlockCols>
Index Eigen::BlockImpl< XprType, BlockRows, BlockCols, true, Sparse >::blockCols ( ) const
inline

Definition at line 69 of file SparseBlock.h.

◆ blockRows()

template<typename XprType , int BlockRows, int BlockCols>
Index Eigen::BlockImpl< XprType, BlockRows, BlockCols, true, Sparse >::blockRows ( ) const
inline

Definition at line 68 of file SparseBlock.h.

◆ coeff() [1/2]

template<typename XprType , int BlockRows, int BlockCols>
const Scalar Eigen::BlockImpl< XprType, BlockRows, BlockCols, true, Sparse >::coeff ( Index  index) const
inline

Definition at line 59 of file SparseBlock.h.

◆ coeff() [2/2]

template<typename XprType , int BlockRows, int BlockCols>
const Scalar Eigen::BlockImpl< XprType, BlockRows, BlockCols, true, Sparse >::coeff ( Index  row,
Index  col 
) const
inline

Definition at line 54 of file SparseBlock.h.

◆ cols()

template<typename XprType , int BlockRows, int BlockCols>
EIGEN_STRONG_INLINE Index Eigen::BlockImpl< XprType, BlockRows, BlockCols, true, Sparse >::cols ( ) const
inline

Definition at line 40 of file SparseBlock.h.

◆ convert_index()

template<typename XprType , int BlockRows, int BlockCols>
static StorageIndex Eigen::SparseMatrixBase::convert_index
inlinestaticprotected

Definition at line 389 of file SparseMatrixBase.h.

◆ nestedExpression() [1/2]

template<typename XprType , int BlockRows, int BlockCols>
XprType& Eigen::BlockImpl< XprType, BlockRows, BlockCols, true, Sparse >::nestedExpression ( )
inline

Definition at line 65 of file SparseBlock.h.

◆ nestedExpression() [2/2]

template<typename XprType , int BlockRows, int BlockCols>
const XprType& Eigen::BlockImpl< XprType, BlockRows, BlockCols, true, Sparse >::nestedExpression ( ) const
inline

Definition at line 64 of file SparseBlock.h.

◆ nonZeros()

template<typename XprType , int BlockRows, int BlockCols>
Index Eigen::BlockImpl< XprType, BlockRows, BlockCols, true, Sparse >::nonZeros ( ) const
inline

Definition at line 42 of file SparseBlock.h.

◆ operator=()

template<typename XprType , int BlockRows, int BlockCols>
template<typename T >
BlockImpl& Eigen::BlockImpl< XprType, BlockRows, BlockCols, true, Sparse >::operator= ( const T )
inlineprotected

Definition at line 81 of file SparseBlock.h.

◆ rows()

template<typename XprType , int BlockRows, int BlockCols>
EIGEN_STRONG_INLINE Index Eigen::BlockImpl< XprType, BlockRows, BlockCols, true, Sparse >::rows ( ) const
inline

Definition at line 39 of file SparseBlock.h.

◆ startCol()

template<typename XprType , int BlockRows, int BlockCols>
Index Eigen::BlockImpl< XprType, BlockRows, BlockCols, true, Sparse >::startCol ( ) const
inline

Definition at line 67 of file SparseBlock.h.

◆ startRow()

template<typename XprType , int BlockRows, int BlockCols>
Index Eigen::BlockImpl< XprType, BlockRows, BlockCols, true, Sparse >::startRow ( ) const
inline

Definition at line 66 of file SparseBlock.h.

Member Data Documentation

◆ m_matrix

template<typename XprType , int BlockRows, int BlockCols>
internal::ref_selector<XprType>::non_const_type Eigen::BlockImpl< XprType, BlockRows, BlockCols, true, Sparse >::m_matrix
protected

Definition at line 73 of file SparseBlock.h.

◆ m_outerSize

template<typename XprType , int BlockRows, int BlockCols>
const internal::variable_if_dynamic<Index, OuterSize> Eigen::BlockImpl< XprType, BlockRows, BlockCols, true, Sparse >::m_outerSize
protected

Definition at line 75 of file SparseBlock.h.

◆ m_outerStart

template<typename XprType , int BlockRows, int BlockCols>
Index Eigen::BlockImpl< XprType, BlockRows, BlockCols, true, Sparse >::m_outerStart
protected

Definition at line 74 of file SparseBlock.h.


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


gtsam
Author(s):
autogenerated on Wed May 15 2024 15:27:56