Blaze
3.9
Toggle main menu visibility
Loading...
Searching...
No Matches
blaze
math
shims
Evaluate.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_MATH_SHIMS_EVALUATE_H_
36
#define _BLAZE_MATH_SHIMS_EVALUATE_H_
37
38
39
//*************************************************************************************************
40
// Includes
41
//*************************************************************************************************
42
43
#include <
blaze/math/typetraits/HasCompositeType.h
>
44
#include <
blaze/math/typetraits/IsProxy.h
>
45
#include <
blaze/util/EnableIf.h
>
46
47
48
namespace
blaze {
49
50
//=================================================================================================
51
//
52
// EVALUATE SHIM
53
//
54
//=================================================================================================
55
56
//*************************************************************************************************
68
template
<
typename
T
69
,
EnableIf_t< !HasCompositeType_v<T>
&& !
IsProxy_v<T>
>* =
nullptr
>
70
constexpr
T
evaluate
(
const
T& a )
noexcept
71
{
72
return
a;
73
}
74
//*************************************************************************************************
75
76
}
// namespace blaze
77
78
#endif
EnableIf.h
Header file for the EnableIf class template.
HasCompositeType.h
Header file for the HasCompositeType type trait.
IsProxy.h
Header file for the IsProxy type trait.
blaze::IsProxy_v
constexpr bool IsProxy_v
Auxiliary variable template for the IsProxy type trait.
Definition
IsProxy.h:127
blaze::evaluate
MT::ResultType evaluate(const Matrix< MT, SO > &matrix)
Evaluates the given matrix expression.
Definition
Matrix.h:1282
blaze::EnableIf_t
typename EnableIf< Condition, T >::Type EnableIf_t
Auxiliary type for the EnableIf class template.
Definition
EnableIf.h:138
Generated by
1.18.0