Blaze
3.9
Toggle main menu visibility
Loading...
Searching...
No Matches
blaze
math
shims
Exp10.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_MATH_SHIMS_EXP10_H_
36
#define _BLAZE_MATH_SHIMS_EXP10_H_
37
38
39
//*************************************************************************************************
40
// Includes
41
//*************************************************************************************************
42
43
#include <
blaze/math/shims/Pow.h
>
44
#include <
blaze/system/Inline.h
>
45
#include <
blaze/util/EnableIf.h
>
46
#include <
blaze/util/typetraits/IsBuiltin.h
>
47
48
49
namespace
blaze {
50
51
//=================================================================================================
52
//
53
// EXP10 SHIM
54
//
55
//=================================================================================================
56
57
//*************************************************************************************************
64
template
<
typename
T,
typename
= EnableIf_t< IsBuiltin_v<T> > >
65
BLAZE_ALWAYS_INLINE
decltype
(
auto
)
exp10
(
const
T& a )
noexcept
(
noexcept
(
pow
( T(10), a ) ) )
66
{
67
return
pow
( T(10), a );
68
}
69
//*************************************************************************************************
70
71
}
// namespace blaze
72
73
#endif
EnableIf.h
Header file for the EnableIf class template.
IsBuiltin.h
Header file for the IsBuiltin type trait.
blaze::exp10
decltype(auto) exp10(const DenseMatrix< MT, SO > &dm)
Computes for each single element of the dense matrix dm.
Definition
DMatMapExpr.h:1857
blaze::pow
decltype(auto) pow(const DenseMatrix< MT1, SO1 > &lhs, const DenseMatrix< MT2, SO2 > &rhs)
Computes the componentwise exponential value for the dense matrices lhs and rhs.
Definition
DMatDMatMapExpr.h:1448
BLAZE_ALWAYS_INLINE
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition
Inline.h:85
Pow.h
Header file for the pow shim.
Inline.h
System settings for the inline keywords.
Generated by
1.18.0