Blaze 3.9
MatEvalExpr.h
Go to the documentation of this file.
1//=================================================================================================
33//=================================================================================================
34
35#ifndef _BLAZE_MATH_EXPRESSIONS_MATEVALEXPR_H_
36#define _BLAZE_MATH_EXPRESSIONS_MATEVALEXPR_H_
37
38
39//*************************************************************************************************
40// Includes
41//*************************************************************************************************
42
45
46
47namespace blaze {
48
49//=================================================================================================
50//
51// CLASS DEFINITION
52//
53//=================================================================================================
54
55//*************************************************************************************************
66template< typename MT > // Matrix base type of the expression
68 : public EvalExpr<MT>
69{};
70//*************************************************************************************************
71
72
73
74
75//=================================================================================================
76//
77// GLOBAL RESTRUCTURING FUNCTIONS
78//
79//=================================================================================================
80
81//*************************************************************************************************
92template< typename MT > // Matrix base type of the expression
93inline decltype(auto) eval( const MatEvalExpr<MT>& matrix )
94{
96
97 return *matrix;
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 matrix evaluation expression templates.
Definition: MatEvalExpr.h:69