Pow3.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_SHIMS_POW3_H_
36 #define _BLAZE_MATH_SHIMS_POW3_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
43 #include <blaze/system/Inline.h>
44 
45 
46 namespace blaze {
47 
48 //=================================================================================================
49 //
50 // POW3 SHIM
51 //
52 //=================================================================================================
53 
54 //*************************************************************************************************
64 template< typename T >
65 BLAZE_ALWAYS_INLINE constexpr decltype(auto) pow3( const T& a ) noexcept( noexcept( a * a * a ) )
66 {
67  return ( a * a * a );
68 }
69 //*************************************************************************************************
70 
71 } // namespace blaze
72 
73 #endif
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
decltype(auto) pow3(const Proxy< PT, RT > &proxy)
Computing the cube value of the represented element.
Definition: Proxy.h:1405
System settings for the inline keywords.