MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
grad::MatrixExpression< Expression, N_rows, N_cols, CLEAR_ALIAS > Class Template Reference

#include <matvec.h>

Inheritance diagram for grad::MatrixExpression< Expression, N_rows, N_cols, CLEAR_ALIAS >:
Collaboration diagram for grad::MatrixExpression< Expression, N_rows, N_cols, CLEAR_ALIAS >:

Public Types

typedef Expression::ScalarType ScalarType
 
typedef Expression::ExpressionType ExpressionType
 

Public Member Functions

 MatrixExpression (const Expression &e)
 
template<typename Expr >
 MatrixExpression (const Expr &u)
 
template<typename LhsExpr , typename RhsExpr >
 MatrixExpression (const LhsExpr &u, const RhsExpr &v)
 
index_type iGetNumRows () const
 
index_type iGetNumCols () const
 

Static Public Attributes

static const bool bAlias = CLEAR_ALIAS ? false : Expression::bAlias
 
static const index_type iNumRows = N_rows
 
static const index_type iNumCols = N_cols
 

Private Types

typedef IndexCheck< iNumRows-Expression::iNumRows >
::CheckType 
check_iNumRows
 
typedef IndexCheck< iNumCols-Expression::iNumCols >
::CheckType 
check_iNumCols
 

Detailed Description

template<typename Expression, index_type N_rows, index_type N_cols, bool CLEAR_ALIAS = false>
class grad::MatrixExpression< Expression, N_rows, N_cols, CLEAR_ALIAS >

Definition at line 635 of file matvec.h.

Member Typedef Documentation

template<typename Expression, index_type N_rows, index_type N_cols, bool CLEAR_ALIAS = false>
typedef IndexCheck<iNumCols - Expression::iNumCols>::CheckType grad::MatrixExpression< Expression, N_rows, N_cols, CLEAR_ALIAS >::check_iNumCols
private

Definition at line 683 of file matvec.h.

template<typename Expression, index_type N_rows, index_type N_cols, bool CLEAR_ALIAS = false>
typedef IndexCheck<iNumRows - Expression::iNumRows>::CheckType grad::MatrixExpression< Expression, N_rows, N_cols, CLEAR_ALIAS >::check_iNumRows
private

Definition at line 682 of file matvec.h.

template<typename Expression, index_type N_rows, index_type N_cols, bool CLEAR_ALIAS = false>
typedef Expression::ExpressionType grad::MatrixExpression< Expression, N_rows, N_cols, CLEAR_ALIAS >::ExpressionType

Definition at line 641 of file matvec.h.

template<typename Expression, index_type N_rows, index_type N_cols, bool CLEAR_ALIAS = false>
typedef Expression::ScalarType grad::MatrixExpression< Expression, N_rows, N_cols, CLEAR_ALIAS >::ScalarType

Definition at line 640 of file matvec.h.

Constructor & Destructor Documentation

template<typename Expression, index_type N_rows, index_type N_cols, bool CLEAR_ALIAS = false>
grad::MatrixExpression< Expression, N_rows, N_cols, CLEAR_ALIAS >::MatrixExpression ( const Expression e)
inlineexplicit

Definition at line 643 of file matvec.h.

644  :Expression(e) {
645 #if MATVEC_DEBUG > 0
646  AssertValid();
647 #endif
648  }
template<typename Expression, index_type N_rows, index_type N_cols, bool CLEAR_ALIAS = false>
template<typename Expr >
grad::MatrixExpression< Expression, N_rows, N_cols, CLEAR_ALIAS >::MatrixExpression ( const Expr &  u)
inlineexplicit

Definition at line 651 of file matvec.h.

652  :Expression(u) {
653 #if MATVEC_DEBUG > 0
654  AssertValid();
655 #endif
656  }
template<typename Expression, index_type N_rows, index_type N_cols, bool CLEAR_ALIAS = false>
template<typename LhsExpr , typename RhsExpr >
grad::MatrixExpression< Expression, N_rows, N_cols, CLEAR_ALIAS >::MatrixExpression ( const LhsExpr &  u,
const RhsExpr &  v 
)
inlineexplicit

Definition at line 659 of file matvec.h.

660  :Expression(u, v) {
661 #if MATVEC_DEBUG > 0
662  AssertValid();
663 #endif
664  }

Member Function Documentation

template<typename Expression, index_type N_rows, index_type N_cols, bool CLEAR_ALIAS = false>
index_type grad::MatrixExpression< Expression, N_rows, N_cols, CLEAR_ALIAS >::iGetNumCols ( void  ) const
inline
template<typename Expression, index_type N_rows, index_type N_cols, bool CLEAR_ALIAS = false>
index_type grad::MatrixExpression< Expression, N_rows, N_cols, CLEAR_ALIAS >::iGetNumRows ( void  ) const
inline

Member Data Documentation

template<typename Expression, index_type N_rows, index_type N_cols, bool CLEAR_ALIAS = false>
const bool grad::MatrixExpression< Expression, N_rows, N_cols, CLEAR_ALIAS >::bAlias = CLEAR_ALIAS ? false : Expression::bAlias
static

Definition at line 637 of file matvec.h.

template<typename Expression, index_type N_rows, index_type N_cols, bool CLEAR_ALIAS = false>
const index_type grad::MatrixExpression< Expression, N_rows, N_cols, CLEAR_ALIAS >::iNumCols = N_cols
static

Definition at line 639 of file matvec.h.

template<typename Expression, index_type N_rows, index_type N_cols, bool CLEAR_ALIAS = false>
const index_type grad::MatrixExpression< Expression, N_rows, N_cols, CLEAR_ALIAS >::iNumRows = N_rows
static

Definition at line 638 of file matvec.h.


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