Represents a rectangular matrix with a banded storage.
_Scalar | Numeric type, i.e. float, double, int |
Rows | Number of rows, or Dynamic |
Cols | Number of columns, or Dynamic |
Supers | Number of super diagonal |
Subs | Number of sub diagonal |
_Options | A 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 represent a selfadjoint matrix in which case either Supers of Subs have to be null. |
Definition at line 66 of file BandMatrix.h.
#include <src/Core/BandMatrix.h>
Classes | |
struct | DiagonalIntReturnType |
Public Types | |
enum | { Flags = internal::traits<BandMatrix>::Flags, CoeffReadCost = internal::traits<BandMatrix>::CoeffReadCost, RowsAtCompileTime = internal::traits<BandMatrix>::RowsAtCompileTime, ColsAtCompileTime = internal::traits<BandMatrix>::ColsAtCompileTime, MaxRowsAtCompileTime = internal::traits<BandMatrix>::MaxRowsAtCompileTime, MaxColsAtCompileTime = internal::traits<BandMatrix>::MaxColsAtCompileTime } |
typedef internal::traits < BandMatrix >::Scalar | Scalar |
typedef Matrix< Scalar, RowsAtCompileTime, ColsAtCompileTime > | DenseMatrixType |
typedef DenseMatrixType::Index | Index |
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 |
Block< DataType, Dynamic, 1 > | col (Index i) |
Block< DataType, 1, SizeAtCompileTime > | diagonal () |
const Block< const DataType, 1, SizeAtCompileTime > | diagonal () const |
template<int N> | |
DiagonalIntReturnType< N >::Type | diagonal () |
template<int N> | |
const DiagonalIntReturnType< N > ::Type | diagonal () const |
Block< DataType, 1, Dynamic > | diagonal (Index i) |
const Block< const DataType, 1, Dynamic > | diagonal (Index i) const |
template<typename Dest > | |
void | evalTo (Dest &dst) const |
DenseMatrixType | toDenseMatrix () const |
Protected Types | |
enum | { DataRowsAtCompileTime, SizeAtCompileTime = EIGEN_SIZE_MIN_PREFER_DYNAMIC(Rows,Cols) } |
typedef Matrix< Scalar, DataRowsAtCompileTime, ColsAtCompileTime, Options &RowMajor?RowMajor:ColMajor > | DataType |
Protected Member Functions | |
Index | diagonalLength (Index i) const |
Protected Attributes | |
DataType | m_data |
internal::variable_if_dynamic < Index, Rows > | m_rows |
internal::variable_if_dynamic < Index, Supers > | m_supers |
internal::variable_if_dynamic < Index, Subs > | m_subs |
typedef Matrix<Scalar,DataRowsAtCompileTime,ColsAtCompileTime,Options&RowMajor?RowMajor:ColMajor> internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::DataType [protected] |
Definition at line 89 of file BandMatrix.h.
typedef Matrix<Scalar,RowsAtCompileTime,ColsAtCompileTime> internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::DenseMatrixType |
Definition at line 79 of file BandMatrix.h.
typedef DenseMatrixType::Index internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::Index |
Reimplemented from EigenBase< BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options > >.
Reimplemented in internal::TridiagonalMatrix< Scalar, Size, Options >.
Definition at line 80 of file BandMatrix.h.
typedef internal::traits<BandMatrix>::Scalar internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::Scalar |
Definition at line 78 of file BandMatrix.h.
anonymous enum |
Flags | |
CoeffReadCost | |
RowsAtCompileTime | |
ColsAtCompileTime | |
MaxRowsAtCompileTime | |
MaxColsAtCompileTime |
Definition at line 70 of file BandMatrix.h.
anonymous enum [protected] |
Definition at line 83 of file BandMatrix.h.
internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::BandMatrix | ( | Index | rows = Rows , |
Index | cols = Cols , |
||
Index | supers = Supers , |
||
Index | subs = Subs |
||
) | [inline] |
Definition at line 93 of file BandMatrix.h.
Block<DataType,Dynamic,1> internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::col | ( | Index | i | ) | [inline] |
Definition at line 115 of file BandMatrix.h.
Index internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::cols | ( | ) | const [inline] |
Reimplemented from EigenBase< BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options > >.
Definition at line 104 of file BandMatrix.h.
Referenced by internal::BandMatrix< Scalar, Size, Size, Options &SelfAdjoint?0:1, 1, Options|RowMajor >::diagonal(), internal::BandMatrix< Scalar, Size, Size, Options &SelfAdjoint?0:1, 1, Options|RowMajor >::diagonalLength(), internal::BandMatrix< Scalar, Size, Size, Options &SelfAdjoint?0:1, 1, Options|RowMajor >::evalTo(), and internal::BandMatrix< Scalar, Size, Size, Options &SelfAdjoint?0:1, 1, Options|RowMajor >::toDenseMatrix().
DiagonalIntReturnType<N>::Type internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::diagonal | ( | ) | [inline] |
Definition at line 156 of file BandMatrix.h.
const DiagonalIntReturnType<N>::Type internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::diagonal | ( | ) | const [inline] |
Definition at line 162 of file BandMatrix.h.
Block<DataType,1,Dynamic> internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::diagonal | ( | Index | i | ) | [inline] |
Definition at line 168 of file BandMatrix.h.
const Block<const DataType,1,Dynamic> internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::diagonal | ( | Index | i | ) | const [inline] |
Definition at line 175 of file BandMatrix.h.
Block<DataType,1,SizeAtCompileTime> internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::diagonal | ( | ) | [inline] |
Definition at line 131 of file BandMatrix.h.
Referenced by internal::BandMatrix< Scalar, Size, Size, Options &SelfAdjoint?0:1, 1, Options|RowMajor >::evalTo(), and internal::TridiagonalMatrix< Scalar, Size, Options >::sub().
const Block<const DataType,1,SizeAtCompileTime> internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::diagonal | ( | ) | const [inline] |
Definition at line 135 of file BandMatrix.h.
Index internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::diagonalLength | ( | Index | i | ) | const [inline, protected] |
Definition at line 201 of file BandMatrix.h.
Referenced by internal::BandMatrix< Scalar, Size, Size, Options &SelfAdjoint?0:1, 1, Options|RowMajor >::diagonal().
void internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::evalTo | ( | Dest & | dst | ) | const [inline] |
Reimplemented from EigenBase< BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options > >.
Definition at line 181 of file BandMatrix.h.
Referenced by internal::BandMatrix< Scalar, Size, Size, Options &SelfAdjoint?0:1, 1, Options|RowMajor >::toDenseMatrix().
Index internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::rows | ( | ) | const [inline] |
Reimplemented from EigenBase< BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options > >.
Definition at line 101 of file BandMatrix.h.
Referenced by internal::BandMatrix< Scalar, Size, Size, Options &SelfAdjoint?0:1, 1, Options|RowMajor >::col(), internal::BandMatrix< Scalar, Size, Size, Options &SelfAdjoint?0:1, 1, Options|RowMajor >::diagonal(), internal::BandMatrix< Scalar, Size, Size, Options &SelfAdjoint?0:1, 1, Options|RowMajor >::diagonalLength(), internal::BandMatrix< Scalar, Size, Size, Options &SelfAdjoint?0:1, 1, Options|RowMajor >::evalTo(), and internal::BandMatrix< Scalar, Size, Size, Options &SelfAdjoint?0:1, 1, Options|RowMajor >::toDenseMatrix().
Index internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::subs | ( | ) | const [inline] |
Definition at line 110 of file BandMatrix.h.
Referenced by internal::BandMatrix< Scalar, Size, Size, Options &SelfAdjoint?0:1, 1, Options|RowMajor >::col(), internal::BandMatrix< Scalar, Size, Size, Options &SelfAdjoint?0:1, 1, Options|RowMajor >::diagonal(), and internal::BandMatrix< Scalar, Size, Size, Options &SelfAdjoint?0:1, 1, Options|RowMajor >::evalTo().
Index internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::supers | ( | ) | const [inline] |
Definition at line 107 of file BandMatrix.h.
Referenced by internal::BandMatrix< Scalar, Size, Size, Options &SelfAdjoint?0:1, 1, Options|RowMajor >::col(), internal::BandMatrix< Scalar, Size, Size, Options &SelfAdjoint?0:1, 1, Options|RowMajor >::diagonal(), and internal::BandMatrix< Scalar, Size, Size, Options &SelfAdjoint?0:1, 1, Options|RowMajor >::evalTo().
DenseMatrixType internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::toDenseMatrix | ( | ) | const [inline] |
Definition at line 192 of file BandMatrix.h.
DataType internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::m_data [protected] |
Definition at line 204 of file BandMatrix.h.
Referenced by internal::BandMatrix< Scalar, Size, Size, Options &SelfAdjoint?0:1, 1, Options|RowMajor >::col(), internal::BandMatrix< Scalar, Size, Size, Options &SelfAdjoint?0:1, 1, Options|RowMajor >::cols(), and internal::BandMatrix< Scalar, Size, Size, Options &SelfAdjoint?0:1, 1, Options|RowMajor >::diagonal().
internal::variable_if_dynamic<Index, Rows> internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::m_rows [protected] |
Definition at line 205 of file BandMatrix.h.
Referenced by internal::BandMatrix< Scalar, Size, Size, Options &SelfAdjoint?0:1, 1, Options|RowMajor >::rows().
internal::variable_if_dynamic<Index, Subs> internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::m_subs [protected] |
Definition at line 207 of file BandMatrix.h.
Referenced by internal::BandMatrix< Scalar, Size, Size, Options &SelfAdjoint?0:1, 1, Options|RowMajor >::subs().
internal::variable_if_dynamic<Index, Supers> internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::m_supers [protected] |
Definition at line 206 of file BandMatrix.h.
Referenced by internal::BandMatrix< Scalar, Size, Size, Options &SelfAdjoint?0:1, 1, Options|RowMajor >::supers().
Page generated by Doxygen 1.7.3 for MRPT 0.9.4 SVN: at Sat Mar 26 06:16:28 UTC 2011 |