Main MRPT website > C++ reference
MRPT logo
Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
Eigen::internal::BandMatrix Class Reference

Detailed Description

Represents a rectangular matrix with a banded storage.

Parameters:
_ScalarNumeric type, i.e. float, double, int
RowsNumber of rows, or Dynamic
ColsNumber of columns, or Dynamic
SupersNumber of super diagonal
SubsNumber of sub diagonal
_OptionsA combination of either RowMajor or ColMajor, and of SelfAdjoint The former controls storage order, and defaults to column-major. The latter controls whether the matrix represents a selfadjoint matrix in which case either Supers of Subs have to be null.
See also:
class TridiagonalMatrix
Inheritance diagram for Eigen::internal::BandMatrix:
Inheritance graph
[legend]

List of all members.

Public Types

typedef internal::traits
< BandMatrix >::Scalar 
Scalar
typedef internal::traits
< BandMatrix >::Index 
Index
typedef internal::traits
< BandMatrix >
::CoefficientsType 
CoefficientsType
enum  
typedef Matrix< Scalar,
RowsAtCompileTime,
ColsAtCompileTime > 
DenseMatrixType
typedef EigenBase< Derived > Base

Public Member Functions

 BandMatrix (Index rows=Rows, Index cols=Cols, Index supers=Supers, Index subs=Subs)
Index rows () const
Index cols () const
Index supers () const
Index subs () const
const CoefficientsTypecoeffs () const
CoefficientsTypecoeffs ()
Block< CoefficientsType,
Dynamic, 1 > 
col (Index i)
Block< CoefficientsType,
1, SizeAtCompileTime > 
diagonal ()
const Block< const
CoefficientsType,
1, SizeAtCompileTime > 
diagonal () const
DiagonalIntReturnType< N >::Type diagonal ()
const DiagonalIntReturnType< N >
::Type 
diagonal () const
Block< CoefficientsType,
1, Dynamic
diagonal (Index i)
const Block< const
CoefficientsType, 1, Dynamic
diagonal (Index i) const
void evalTo (Dest &dst) const
DenseMatrixType toDenseMatrix () const

Protected Types

enum  

Protected Member Functions

Index diagonalLength (Index i) const

Protected Attributes

CoefficientsType m_coeffs
internal::variable_if_dynamic
< Index, Rows > 
m_rows
internal::variable_if_dynamic
< Index, Supers > 
m_supers
internal::variable_if_dynamic
< Index, Subs > 
m_subs

Member Typedef Documentation

typedef EigenBase<Derived> Eigen::internal::BandMatrixBase::Base [inherited]

Definition at line 52 of file Core.

typedef Matrix<Scalar,RowsAtCompileTime,ColsAtCompileTime> Eigen::internal::BandMatrixBase::DenseMatrixType [inherited]

Definition at line 49 of file Core.


Member Enumeration Documentation

anonymous enum [inherited]

Definition at line 37 of file Core.

anonymous enum [protected, inherited]

Definition at line 55 of file Core.


Constructor & Destructor Documentation

Eigen::internal::BandMatrix::BandMatrix ( Index  rows = Rows,
Index  cols = Cols,
Index  supers = Supers,
Index  subs = Subs 
) [inline]

Definition at line 222 of file Core.


Member Function Documentation

const CoefficientsType& Eigen::internal::BandMatrix::coeffs ( ) const [inline]
Returns:
an expression of the underlying coefficient matrix

Reimplemented from Eigen::internal::BandMatrixBase< BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options > >.

Definition at line 240 of file Core.

CoefficientsType& Eigen::internal::BandMatrix::coeffs ( ) [inline]
Returns:
an expression of the underlying coefficient matrix

Reimplemented from Eigen::internal::BandMatrixBase< BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options > >.

Definition at line 241 of file Core.

Block<CoefficientsType,Dynamic,1> Eigen::internal::BandMatrixBase::col ( Index  i) [inline, inherited]
Returns:
a vector expression of the i -th column, only the meaningful part is returned.
Warning:
the internal storage must be column major.

Definition at line 83 of file Core.

Index Eigen::internal::BandMatrix::cols ( void  ) const [inline]
Returns:
the number of rows

Definition at line 232 of file Core.

Block<CoefficientsType,1,SizeAtCompileTime> Eigen::internal::BandMatrixBase::diagonal ( ) [inline, inherited]
Returns:
a vector expression of the main diagonal

Definition at line 99 of file Core.

const Block<const CoefficientsType,1,SizeAtCompileTime> Eigen::internal::BandMatrixBase::diagonal ( ) const [inline, inherited]
Returns:
a vector expression of the main diagonal (const version)

Definition at line 103 of file Core.

DiagonalIntReturnType<N>::Type Eigen::internal::BandMatrixBase::diagonal ( ) [inline, inherited]
Returns:
a vector expression of the N -th sub or super diagonal

Definition at line 124 of file Core.

const DiagonalIntReturnType<N>::Type Eigen::internal::BandMatrixBase::diagonal ( ) const [inline, inherited]
Returns:
a vector expression of the N -th sub or super diagonal

Definition at line 130 of file Core.

Block<CoefficientsType,1,Dynamic> Eigen::internal::BandMatrixBase::diagonal ( Index  i) [inline, inherited]
Returns:
a vector expression of the i -th sub or super diagonal

Definition at line 136 of file Core.

const Block<const CoefficientsType,1,Dynamic> Eigen::internal::BandMatrixBase::diagonal ( Index  i) const [inline, inherited]
Returns:
a vector expression of the i -th sub or super diagonal

Definition at line 143 of file Core.

Index Eigen::internal::BandMatrixBase::diagonalLength ( Index  i) const [inline, protected, inherited]

Definition at line 169 of file Core.

void Eigen::internal::BandMatrixBase::evalTo ( Dest &  dst) const [inline, inherited]

Definition at line 149 of file Core.

Index Eigen::internal::BandMatrix::rows ( void  ) const [inline]
Returns:
the number of columns

Definition at line 229 of file Core.

Index Eigen::internal::BandMatrix::subs ( ) const [inline]
Returns:
the number of sub diagonals

Reimplemented from Eigen::internal::BandMatrixBase< BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options > >.

Definition at line 238 of file Core.

Index Eigen::internal::BandMatrix::supers ( ) const [inline]
Returns:
the number of super diagonals

Reimplemented from Eigen::internal::BandMatrixBase< BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options > >.

Definition at line 235 of file Core.

DenseMatrixType Eigen::internal::BandMatrixBase::toDenseMatrix ( ) const [inline, inherited]

Definition at line 160 of file Core.


Member Data Documentation

Definition at line 245 of file Core.

Definition at line 246 of file Core.

Definition at line 248 of file Core.

Definition at line 247 of file Core.




Page generated by Doxygen 1.7.5 for MRPT 0.9.5 SVN: at Thu Oct 13 21:25:36 UTC 2011