Public Types | Public Member Functions | Protected Attributes
internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options > Class Template Reference

Represents a rectangular matrix with a banded storage. More...

#include <BandMatrix.h>

Inheritance diagram for internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef internal::traits
< BandMatrix >
::CoefficientsType 
CoefficientsType
typedef internal::traits
< BandMatrix >::Index 
Index
typedef internal::traits
< BandMatrix >::Scalar 
Scalar

Public Member Functions

 BandMatrix (Index rows=Rows, Index cols=Cols, Index supers=Supers, Index subs=Subs)
const CoefficientsTypecoeffs () const
CoefficientsTypecoeffs ()
Index cols () const
Index rows () const
Index subs () const
Index supers () const

Protected Attributes

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

Detailed Description

template<typename _Scalar, int Rows, int Cols, int Supers, int Subs, int Options>
class internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >

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

Definition at line 213 of file BandMatrix.h.


Member Typedef Documentation

template<typename _Scalar, int Rows, int Cols, int Supers, int Subs, int Options>
typedef internal::traits<BandMatrix>::CoefficientsType internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::CoefficientsType
template<typename _Scalar, int Rows, int Cols, int Supers, int Subs, int Options>
typedef internal::traits<BandMatrix>::Index internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::Index
template<typename _Scalar, int Rows, int Cols, int Supers, int Subs, int Options>
typedef internal::traits<BandMatrix>::Scalar internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::Scalar

Constructor & Destructor Documentation

template<typename _Scalar, int Rows, int Cols, int Supers, int Subs, int Options>
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 221 of file BandMatrix.h.


Member Function Documentation

template<typename _Scalar, int Rows, int Cols, int Supers, int Subs, int Options>
const CoefficientsType& internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::coeffs ( ) const [inline]
Returns:
an expression of the underlying coefficient matrix

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

Definition at line 239 of file BandMatrix.h.

template<typename _Scalar, int Rows, int Cols, int Supers, int Subs, int Options>
CoefficientsType& internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::coeffs ( ) [inline]
Returns:
an expression of the underlying coefficient matrix

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

Definition at line 240 of file BandMatrix.h.

template<typename _Scalar, int Rows, int Cols, int Supers, int Subs, int Options>
Index internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::cols ( ) const [inline]
Returns:
the number of rows

Reimplemented from EigenBase< BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options > >.

Definition at line 231 of file BandMatrix.h.

template<typename _Scalar, int Rows, int Cols, int Supers, int Subs, int Options>
Index internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::rows ( ) const [inline]
Returns:
the number of columns

Reimplemented from EigenBase< BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options > >.

Definition at line 228 of file BandMatrix.h.

template<typename _Scalar, int Rows, int Cols, int Supers, int Subs, int Options>
Index internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::subs ( ) const [inline]
Returns:
the number of sub diagonals

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

Definition at line 237 of file BandMatrix.h.

template<typename _Scalar, int Rows, int Cols, int Supers, int Subs, int Options>
Index internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::supers ( ) const [inline]
Returns:
the number of super diagonals

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

Definition at line 234 of file BandMatrix.h.


Member Data Documentation

template<typename _Scalar, int Rows, int Cols, int Supers, int Subs, int Options>
CoefficientsType internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::m_coeffs [protected]

Definition at line 244 of file BandMatrix.h.

template<typename _Scalar, int Rows, int Cols, int Supers, int Subs, int Options>
internal::variable_if_dynamic<Index, Rows> internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::m_rows [protected]

Definition at line 245 of file BandMatrix.h.

template<typename _Scalar, int Rows, int Cols, int Supers, int Subs, int Options>
internal::variable_if_dynamic<Index, Subs> internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::m_subs [protected]

Definition at line 247 of file BandMatrix.h.

template<typename _Scalar, int Rows, int Cols, int Supers, int Subs, int Options>
internal::variable_if_dynamic<Index, Supers> internal::BandMatrix< _Scalar, Rows, Cols, Supers, Subs, Options >::m_supers [protected]

Definition at line 246 of file BandMatrix.h.


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


re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:34:31