MBDyn-1.7.3
|
#include <matvec.h>
Public Types | |
typedef MatrixLhsExpr::ScalarType | MatrixLhsScalarExpr |
typedef VectorRhsExpr::ScalarType | VectorRhsScalarExpr |
typedef MatrixLhsExpr::RowVectorType | MatrixLhsRowVector |
typedef CommonScalarType < typename BasicScalarType < MatrixLhsScalarExpr > ::ScalarType, typename BasicScalarType < VectorRhsScalarExpr > ::ScalarType >::ScalarType | ScalarType |
typedef DotTraits < MatrixLhsRowVector, VectorRhsExpr, MatrixLhsExpr::iNumCols, MatrixLhsExpr::iNumCols > ::ExpressionType | ExpressionType |
Public Member Functions | |
MatrixVectorProduct (const MatrixLhsExpr &A, const VectorRhsExpr &x) | |
ExpressionType | operator() (index_type i) const |
index_type | iGetNumRows () const |
template<typename ScalarType2 > | |
bool | bHaveReferenceTo (const ScalarType2 *pFirst, const ScalarType2 *pLast) const |
Static Public Attributes | |
static const bool | bAlias = MatrixLhsExpr::bAlias || VectorRhsExpr::bAlias |
static const index_type | iNumRows = MatrixLhsExpr::iNumRows |
Private Types | |
typedef IndexCheck< N_rows-MatrixLhsExpr::iNumRows > ::CheckType | check_iNumRowsLhs |
typedef IndexCheck< N_cols-MatrixLhsExpr::iNumCols > ::CheckType | check_iNumColsLhs |
typedef IndexCheck< N_cols-VectorRhsExpr::iNumRows > ::CheckType | check_iNumRowsRhs |
typedef MaxSizeCheck< N_rows!=DYNAMIC_SIZE > ::CheckType | check_iNumRowsDynamic |
typedef MaxSizeCheck< N_cols!=DYNAMIC_SIZE > ::CheckType | check_iNumColsDynamic |
Private Attributes | |
const MatrixLhsExpr | A |
const VectorRhsExpr | x |
|
private |
|
private |
|
private |
|
private |
|
private |
typedef DotTraits<MatrixLhsRowVector, VectorRhsExpr, MatrixLhsExpr::iNumCols, MatrixLhsExpr::iNumCols>::ExpressionType grad::MatrixVectorProduct< N_rows, N_cols, MatrixLhsExpr, VectorRhsExpr >::ExpressionType |
typedef MatrixLhsExpr::RowVectorType grad::MatrixVectorProduct< N_rows, N_cols, MatrixLhsExpr, VectorRhsExpr >::MatrixLhsRowVector |
typedef MatrixLhsExpr::ScalarType grad::MatrixVectorProduct< N_rows, N_cols, MatrixLhsExpr, VectorRhsExpr >::MatrixLhsScalarExpr |
typedef CommonScalarType<typename BasicScalarType<MatrixLhsScalarExpr>::ScalarType, typename BasicScalarType<VectorRhsScalarExpr>::ScalarType>::ScalarType grad::MatrixVectorProduct< N_rows, N_cols, MatrixLhsExpr, VectorRhsExpr >::ScalarType |
typedef VectorRhsExpr::ScalarType grad::MatrixVectorProduct< N_rows, N_cols, MatrixLhsExpr, VectorRhsExpr >::VectorRhsScalarExpr |
|
inline |
Definition at line 3303 of file matvec.h.
References grad::Vector< T, N_rows >::iNumRows, and MATVEC_ASSERT.
|
inline |
|
inline |
Definition at line 3314 of file matvec.h.
References grad::Vector< T, N_rows >::iNumRows, and MATVEC_ASSERT.
|
inline |
Definition at line 3308 of file matvec.h.
References grad::Dot(), grad::Vector< T, N_rows >::iGetNumRows(), and MATVEC_ASSERT.
|
private |
|
static |
|
static |
|
private |