Blaze 3.9
VecEvalExpr.h
Go to the documentation of this file.
1//=================================================================================================
33//=================================================================================================
34
35#ifndef _BLAZE_MATH_EXPRESSIONS_VECEVALEXPR_H_
36#define _BLAZE_MATH_EXPRESSIONS_VECEVALEXPR_H_
37
38
39//*************************************************************************************************
40// Includes
41//*************************************************************************************************
42
45
46
47namespace blaze {
48
49//=================================================================================================
50//
51// CLASS DEFINITION
52//
53//=================================================================================================
54
55//*************************************************************************************************
66template< typename VT > // Vector base type of the expression
68 : public EvalExpr<VT>
69{};
70//*************************************************************************************************
71
72
73
74
75//=================================================================================================
76//
77// GLOBAL RESTRUCTURING FUNCTIONS
78//
79//=================================================================================================
80
81//*************************************************************************************************
92template< typename VT > // Vector base type of the expression
93inline decltype(auto) eval( const VecEvalExpr<VT>& vector )
94{
96
97 return *vector;
98}
100//*************************************************************************************************
101
102} // namespace blaze
103
104#endif
Header file for the function trace functionality.
Header file for the EvalExpr base class.
decltype(auto) eval(const DenseMatrix< MT, SO > &dm)
Forces the evaluation of the given dense matrix expression dm.
Definition: DMatEvalExpr.h:790
#define BLAZE_FUNCTION_TRACE
Function trace macro.
Definition: FunctionTrace.h:94
Base class for all evaluation expression templates.
Definition: EvalExpr.h:68
Base class for all vector evaluation expression templates.
Definition: VecEvalExpr.h:69