Blaze 3.9
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
44#include <blaze/system/Inline.h>
45#include <blaze/util/EnableIf.h>
47
48
49namespace blaze {
50
51//=================================================================================================
52//
53// EXP10 SHIM
54//
55//=================================================================================================
56
57//*************************************************************************************************
64template< typename T, typename = EnableIf_t< IsBuiltin_v<T> > >
65BLAZE_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
Header file for the EnableIf class template.
Header file for the IsBuiltin type trait.
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 const SIMDdouble exp10(const SIMDf64< T > &a) noexcept=delete
Computes for a vector of double precision floating point values.
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85
Header file for the pow shim.
System settings for the inline keywords.