Blaze
3.9
Toggle main menu visibility
Loading...
Searching...
No Matches
blaze
math
expressions
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
43
#include <
blaze/math/expressions/EvalExpr.h
>
44
#include <
blaze/util/FunctionTrace.h
>
45
46
47
namespace
blaze {
48
49
//=================================================================================================
50
//
51
// CLASS DEFINITION
52
//
53
//=================================================================================================
54
55
//*************************************************************************************************
66
template
<
typename
VT >
// Vector base type of the expression
67
struct
VecEvalExpr
68
:
public
EvalExpr
<VT>
69
{};
70
//*************************************************************************************************
71
72
73
74
75
//=================================================================================================
76
//
77
// GLOBAL RESTRUCTURING FUNCTIONS
78
//
79
//=================================================================================================
80
81
//*************************************************************************************************
92
template
<
typename
VT >
// Vector base type of the expression
93
inline
decltype
(
auto
)
eval
(
const
VecEvalExpr<VT>
& vector )
94
{
95
BLAZE_FUNCTION_TRACE
;
96
97
return
*vector;
98
}
100
//*************************************************************************************************
101
102
}
// namespace blaze
103
104
#endif
FunctionTrace.h
Header file for the function trace functionality.
EvalExpr.h
Header file for the EvalExpr base class.
blaze::eval
decltype(auto) eval(const DenseMatrix< MT, SO > &dm)
Forces the evaluation of the given dense matrix expression dm.
Definition
DMatEvalExpr.h:790
BLAZE_FUNCTION_TRACE
#define BLAZE_FUNCTION_TRACE
Function trace macro.
Definition
FunctionTrace.h:94
blaze::EvalExpr
Base class for all evaluation expression templates.
Definition
EvalExpr.h:68
blaze::VecEvalExpr
Base class for all vector evaluation expression templates.
Definition
VecEvalExpr.h:69
Generated by
1.18.0