Blaze  3.6
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>
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
decltype(auto) exp10(const DenseMatrix< MT, SO > &dm)
Computes for each single element of the dense matrix dm.
Definition: DMatMapExpr.h:1688
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:1271
Header file for the pow shim.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85
Header file for the EnableIf class template.
Header file for the IsBuiltin type trait.
System settings for the inline keywords.