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

#include <matvec.h>

Inheritance diagram for grad::VectorExpression< Expression, N_rows >:
Collaboration diagram for grad::VectorExpression< Expression, N_rows >:

Public Types

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

Public Member Functions

 VectorExpression (const Expression &e)
 
template<typename Expr >
 VectorExpression (const Expr &u)
 
template<typename LhsExpr , typename RhsExpr >
 VectorExpression (const LhsExpr &u, const RhsExpr &v)
 
template<typename ScalarType >
 VectorExpression (const ScalarType *pArray, index_type iRows, index_type iOffset)
 
index_type iGetNumRows () const
 

Static Public Attributes

static const index_type iNumRows = N_rows
 

Private Types

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

Detailed Description

template<typename Expression, index_type N_rows>
class grad::VectorExpression< Expression, N_rows >

Definition at line 586 of file matvec.h.

Member Typedef Documentation

template<typename Expression, index_type N_rows>
typedef IndexCheck<iNumRows - Expression::iNumRows>::CheckType grad::VectorExpression< Expression, N_rows >::check_iNumRows
private

Definition at line 631 of file matvec.h.

template<typename Expression, index_type N_rows>
typedef Expression::ExpressionType grad::VectorExpression< Expression, N_rows >::ExpressionType

Definition at line 590 of file matvec.h.

template<typename Expression, index_type N_rows>
typedef Expression::ScalarType grad::VectorExpression< Expression, N_rows >::ScalarType

Definition at line 589 of file matvec.h.

Constructor & Destructor Documentation

template<typename Expression, index_type N_rows>
grad::VectorExpression< Expression, N_rows >::VectorExpression ( const Expression e)
inlineexplicit

Definition at line 592 of file matvec.h.

593  :Expression(e) {
594 #if MATVEC_DEBUG > 0
595  AssertValid();
596 #endif
597  }
template<typename Expression, index_type N_rows>
template<typename Expr >
grad::VectorExpression< Expression, N_rows >::VectorExpression ( const Expr &  u)
inlineexplicit

Definition at line 600 of file matvec.h.

601  :Expression(u) {
602 #if MATVEC_DEBUG > 0
603  AssertValid();
604 #endif
605  }
template<typename Expression, index_type N_rows>
template<typename LhsExpr , typename RhsExpr >
grad::VectorExpression< Expression, N_rows >::VectorExpression ( const LhsExpr &  u,
const RhsExpr &  v 
)
inlineexplicit

Definition at line 608 of file matvec.h.

609  :Expression(u, v) {
610 #if MATVEC_DEBUG > 0
611  AssertValid();
612 #endif
613  }
template<typename Expression, index_type N_rows>
template<typename ScalarType >
grad::VectorExpression< Expression, N_rows >::VectorExpression ( const ScalarType pArray,
index_type  iRows,
index_type  iOffset 
)
inlineexplicit

Definition at line 616 of file matvec.h.

617  :Expression(pArray, iRows, iOffset) {
618 #if MATVEC_DEBUG > 0
619  AssertValid();
620 #endif
621  }

Member Function Documentation

template<typename Expression, index_type N_rows>
index_type grad::VectorExpression< Expression, N_rows >::iGetNumRows ( void  ) const
inline

Member Data Documentation

template<typename Expression, index_type N_rows>
const index_type grad::VectorExpression< Expression, N_rows >::iNumRows = N_rows
static

Definition at line 588 of file matvec.h.


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