Honeycomb  0.1
Component-Model Framework
Public Types | Public Member Functions | List of all members
honey::matrix::Block< MatrixP, s_rows, s_cols > Class Template Reference

Matrix block view. More...

#include <Block.h>

Inheritance diagram for honey::matrix::Block< MatrixP, s_rows, s_cols >:
Inheritance graph
[legend]
Collaboration diagram for honey::matrix::Block< MatrixP, s_rows, s_cols >:
Collaboration graph
[legend]

Public Types

typedef Matrix< s_rows, s_cols, typename Super::Real, Super::options, typename Super::Alloc > MatrixEval
 

Public Member Functions

 Block ()
 
 Block (MatrixP &m, sdt row, sdt col, sdt rows=-1, sdt cols=-1)
 
template<class T >
Blockoperator= (const MatrixBase< T > &rhs)
 Assign to matrix. More...
 
MatrixEval eval () const
 Convert to matrix. More...
 
 operator MatrixEval () const
 Convert to matrix. More...
 

Detailed Description

template<class MatrixP, sdt s_rows, sdt s_cols>
class honey::matrix::Block< MatrixP, s_rows, s_cols >

Matrix block view.

Member Typedef Documentation

template<class MatrixP, sdt s_rows, sdt s_cols>
typedef Matrix<s_rows,s_cols,typename Super::Real,Super::options,typename Super::Alloc> honey::matrix::Block< MatrixP, s_rows, s_cols >::MatrixEval

Constructor & Destructor Documentation

template<class MatrixP, sdt s_rows, sdt s_cols>
honey::matrix::Block< MatrixP, s_rows, s_cols >::Block ( )
inline
template<class MatrixP, sdt s_rows, sdt s_cols>
honey::matrix::Block< MatrixP, s_rows, s_cols >::Block ( MatrixP &  m,
sdt  row,
sdt  col,
sdt  rows = -1,
sdt  cols = -1 
)
inline

Member Function Documentation

template<class MatrixP, sdt s_rows, sdt s_cols>
MatrixEval honey::matrix::Block< MatrixP, s_rows, s_cols >::eval ( ) const
inline

Convert to matrix.

template<class MatrixP, sdt s_rows, sdt s_cols>
honey::matrix::Block< MatrixP, s_rows, s_cols >::operator MatrixEval ( ) const
inline

Convert to matrix.

template<class MatrixP, sdt s_rows, sdt s_cols>
template<class T >
Block& honey::matrix::Block< MatrixP, s_rows, s_cols >::operator= ( const MatrixBase< T > &  rhs)
inline

Assign to matrix.


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