All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Invert.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_SHIMS_INVERT_H_
36 #define _BLAZE_MATH_SHIMS_INVERT_H_
37 
38 
39 namespace blaze {
40 
41 //=================================================================================================
42 //
43 // INVERT SHIMS
44 //
45 //=================================================================================================
46 
47 //*************************************************************************************************
57 inline float inv( float a )
58 {
59  return ( 1.0F / a );
60 }
61 //*************************************************************************************************
62 
63 
64 //*************************************************************************************************
74 inline double inv( double a )
75 {
76  return ( 1.0 / a );
77 }
78 //*************************************************************************************************
79 
80 
81 //*************************************************************************************************
91 inline long double inv( long double a )
92 {
93  return ( 1.0L / a );
94 }
95 //*************************************************************************************************
96 
97 } // namespace blaze
98 
99 #endif
const Quaternion< Type > inv(const Quaternion< Type > &m)
Inverting the given quaternion ( ).
Definition: Quaternion.h:1016