Classes | Public Types | Public Member Functions | Protected Attributes | Private Types | Friends
Eigen::BlockImpl< XprType, BlockRows, BlockCols, InnerPanel, Sparse > Class Template Reference

#include <SparseBlock.h>

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

List of all members.

Classes

class  InnerIterator
class  ReverseInnerIterator

Public Types

enum  { IsRowMajor = internal::traits<BlockType>::IsRowMajor }

Public Member Functions

 BlockImpl (const XprType &xpr, int i)
 BlockImpl (const XprType &xpr, int startRow, int startCol, int blockRows, int blockCols)
const Scalar coeff (int row, int col) const
const Scalar coeff (int index) const
ScalarcoeffRef (int row, int col)
ScalarcoeffRef (int index)
int cols () const
const _MatrixTypeNestednestedExpression () const
int rows () const

Protected Attributes

const
internal::variable_if_dynamic
< Index, ColsAtCompileTime
m_blockCols
const
internal::variable_if_dynamic
< Index, RowsAtCompileTime
m_blockRows
XprType::Nested m_matrix
const
internal::variable_if_dynamic
< Index,
XprType::ColsAtCompileTime==1?0:Dynamic
m_startCol
const
internal::variable_if_dynamic
< Index,
XprType::RowsAtCompileTime==1?0:Dynamic
m_startRow

Private Types

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

Friends

class InnerIterator
class ReverseInnerIterator

Detailed Description

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

Generic implementation of sparse Block expression. Real-only.

Definition at line 290 of file SparseBlock.h.


Member Typedef Documentation

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

Definition at line 293 of file SparseBlock.h.

template<typename XprType , int BlockRows, int BlockCols, bool InnerPanel>
typedef Block<XprType, BlockRows, BlockCols, InnerPanel> Eigen::BlockImpl< XprType, BlockRows, BlockCols, InnerPanel, Sparse >::BlockType [private]

Definition at line 294 of file SparseBlock.h.


Member Enumeration Documentation

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

Definition at line 296 of file SparseBlock.h.


Constructor & Destructor Documentation

template<typename XprType , int BlockRows, int BlockCols, bool InnerPanel>
Eigen::BlockImpl< XprType, BlockRows, BlockCols, InnerPanel, Sparse >::BlockImpl ( const XprType &  xpr,
int  i 
) [inline]

Column or Row constructor

Definition at line 301 of file SparseBlock.h.

template<typename XprType , int BlockRows, int BlockCols, bool InnerPanel>
Eigen::BlockImpl< XprType, BlockRows, BlockCols, InnerPanel, Sparse >::BlockImpl ( const XprType &  xpr,
int  startRow,
int  startCol,
int  blockRows,
int  blockCols 
) [inline]

Dynamic-size constructor

Definition at line 311 of file SparseBlock.h.


Member Function Documentation

template<typename XprType , int BlockRows, int BlockCols, bool InnerPanel>
const Scalar Eigen::BlockImpl< XprType, BlockRows, BlockCols, InnerPanel, Sparse >::coeff ( int  row,
int  col 
) const [inline]

Definition at line 324 of file SparseBlock.h.

template<typename XprType , int BlockRows, int BlockCols, bool InnerPanel>
const Scalar Eigen::BlockImpl< XprType, BlockRows, BlockCols, InnerPanel, Sparse >::coeff ( int  index) const [inline]

Definition at line 336 of file SparseBlock.h.

template<typename XprType , int BlockRows, int BlockCols, bool InnerPanel>
Scalar& Eigen::BlockImpl< XprType, BlockRows, BlockCols, InnerPanel, Sparse >::coeffRef ( int  row,
int  col 
) [inline]

Definition at line 318 of file SparseBlock.h.

template<typename XprType , int BlockRows, int BlockCols, bool InnerPanel>
Scalar& Eigen::BlockImpl< XprType, BlockRows, BlockCols, InnerPanel, Sparse >::coeffRef ( int  index) [inline]

Definition at line 329 of file SparseBlock.h.

template<typename XprType , int BlockRows, int BlockCols, bool InnerPanel>
int Eigen::BlockImpl< XprType, BlockRows, BlockCols, InnerPanel, Sparse >::cols ( void  ) const [inline]
Returns:
the number of columns.
See also:
rows()

Reimplemented from Eigen::SparseMatrixBase< Block< XprType, BlockRows, BlockCols, InnerPanel > >.

Definition at line 316 of file SparseBlock.h.

template<typename XprType , int BlockRows, int BlockCols, bool InnerPanel>
const _MatrixTypeNested& Eigen::BlockImpl< XprType, BlockRows, BlockCols, InnerPanel, Sparse >::nestedExpression ( ) const [inline]

Definition at line 343 of file SparseBlock.h.

template<typename XprType , int BlockRows, int BlockCols, bool InnerPanel>
int Eigen::BlockImpl< XprType, BlockRows, BlockCols, InnerPanel, Sparse >::rows ( void  ) const [inline]
Returns:
the number of rows.
See also:
cols()

Reimplemented from Eigen::SparseMatrixBase< Block< XprType, BlockRows, BlockCols, InnerPanel > >.

Definition at line 315 of file SparseBlock.h.


Friends And Related Function Documentation

template<typename XprType , int BlockRows, int BlockCols, bool InnerPanel>
friend class InnerIterator [friend]

Definition at line 392 of file SparseBlock.h.

template<typename XprType , int BlockRows, int BlockCols, bool InnerPanel>
friend class ReverseInnerIterator [friend]

Definition at line 393 of file SparseBlock.h.


Member Data Documentation

template<typename XprType , int BlockRows, int BlockCols, bool InnerPanel>
const internal::variable_if_dynamic<Index, ColsAtCompileTime> Eigen::BlockImpl< XprType, BlockRows, BlockCols, InnerPanel, Sparse >::m_blockCols [protected]

Definition at line 399 of file SparseBlock.h.

template<typename XprType , int BlockRows, int BlockCols, bool InnerPanel>
const internal::variable_if_dynamic<Index, RowsAtCompileTime> Eigen::BlockImpl< XprType, BlockRows, BlockCols, InnerPanel, Sparse >::m_blockRows [protected]

Definition at line 398 of file SparseBlock.h.

template<typename XprType , int BlockRows, int BlockCols, bool InnerPanel>
XprType::Nested Eigen::BlockImpl< XprType, BlockRows, BlockCols, InnerPanel, Sparse >::m_matrix [protected]

Definition at line 395 of file SparseBlock.h.

template<typename XprType , int BlockRows, int BlockCols, bool InnerPanel>
const internal::variable_if_dynamic<Index, XprType::ColsAtCompileTime == 1 ? 0 : Dynamic> Eigen::BlockImpl< XprType, BlockRows, BlockCols, InnerPanel, Sparse >::m_startCol [protected]

Definition at line 397 of file SparseBlock.h.

template<typename XprType , int BlockRows, int BlockCols, bool InnerPanel>
const internal::variable_if_dynamic<Index, XprType::RowsAtCompileTime == 1 ? 0 : Dynamic> Eigen::BlockImpl< XprType, BlockRows, BlockCols, InnerPanel, Sparse >::m_startRow [protected]

Definition at line 396 of file SparseBlock.h.


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


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Thu Aug 27 2015 12:01:44