MBDyn-1.7.3
|
#include <matvec.h>
Public Types | |
typedef ScalarBinFunc::ScalarType | ScalarType |
typedef ScalarBinFunc::ExpressionType | ExpressionType |
Public Member Functions | |
VectorVectorVectorBinaryExpr (const VectorLhsExpr &u, const VectorRhsExpr &v) | |
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 = VectorLhsExpr::bAlias || VectorRhsExpr::bAlias |
static const index_type | iNumRows = VectorLhsExpr::iNumRows |
Private Attributes | |
const VectorLhsExpr | oU |
const VectorRhsExpr | oV |
This class handles binary expressions of the form f(vector1, vector2) = vector3
typedef ScalarBinFunc::ExpressionType grad::VectorVectorVectorBinaryExpr< ScalarBinFunc, VectorLhsExpr, VectorRhsExpr >::ExpressionType |
typedef ScalarBinFunc::ScalarType grad::VectorVectorVectorBinaryExpr< ScalarBinFunc, VectorLhsExpr, VectorRhsExpr >::ScalarType |
|
inline |
|
inline |
Definition at line 716 of file matvec.h.
References grad::VectorVectorVectorBinaryExpr< ScalarBinFunc, VectorLhsExpr, VectorRhsExpr >::oU, and grad::VectorVectorVectorBinaryExpr< ScalarBinFunc, VectorLhsExpr, VectorRhsExpr >::oV.
|
inline |
Definition at line 709 of file matvec.h.
References grad::DYNAMIC_SIZE, grad::VectorVectorVectorBinaryExpr< ScalarBinFunc, VectorLhsExpr, VectorRhsExpr >::iNumRows, MATVEC_ASSERT, grad::VectorVectorVectorBinaryExpr< ScalarBinFunc, VectorLhsExpr, VectorRhsExpr >::oU, and grad::VectorVectorVectorBinaryExpr< ScalarBinFunc, VectorLhsExpr, VectorRhsExpr >::oV.
Referenced by grad::VectorVectorVectorBinaryExpr< ScalarBinFunc, VectorLhsExpr, VectorRhsExpr >::operator()().
|
inline |
Definition at line 703 of file matvec.h.
References grad::VectorVectorVectorBinaryExpr< ScalarBinFunc, VectorLhsExpr, VectorRhsExpr >::iGetNumRows(), MATVEC_ASSERT, grad::VectorVectorVectorBinaryExpr< ScalarBinFunc, VectorLhsExpr, VectorRhsExpr >::oU, and grad::VectorVectorVectorBinaryExpr< ScalarBinFunc, VectorLhsExpr, VectorRhsExpr >::oV.
|
static |
|
static |
Definition at line 694 of file matvec.h.
Referenced by grad::VectorVectorVectorBinaryExpr< ScalarBinFunc, VectorLhsExpr, VectorRhsExpr >::iGetNumRows().
|
private |
Definition at line 721 of file matvec.h.
Referenced by grad::VectorVectorVectorBinaryExpr< ScalarBinFunc, VectorLhsExpr, VectorRhsExpr >::bHaveReferenceTo(), grad::VectorVectorVectorBinaryExpr< ScalarBinFunc, VectorLhsExpr, VectorRhsExpr >::iGetNumRows(), and grad::VectorVectorVectorBinaryExpr< ScalarBinFunc, VectorLhsExpr, VectorRhsExpr >::operator()().
|
private |
Definition at line 722 of file matvec.h.
Referenced by grad::VectorVectorVectorBinaryExpr< ScalarBinFunc, VectorLhsExpr, VectorRhsExpr >::bHaveReferenceTo(), grad::VectorVectorVectorBinaryExpr< ScalarBinFunc, VectorLhsExpr, VectorRhsExpr >::iGetNumRows(), and grad::VectorVectorVectorBinaryExpr< ScalarBinFunc, VectorLhsExpr, VectorRhsExpr >::operator()().