Go to the documentation of this file.
21 #define T3Func(fnName) \
22 template<typename T> \
23 INLINE_FUNCTION_HD pFlow::triple<T> pFlow::fnName(const pFlow::triple<T>& v) \
25 return pFlow::triple<T>(fnName(v.x_), fnName(v.y_), fnName(v.z_)); \
28 #define T3Func2(fnName) \
29 template<typename T> \
30 INLINE_FUNCTION_HD pFlow::triple<T> pFlow::fnName(const pFlow::triple<T>& arg1, const pFlow::triple<T>& arg2) \
32 return pFlow::triple<T>(fnName(arg1.x_, arg2.x_), fnName(arg1.y_,arg2.y_), fnName(arg1.z_, arg2.z_)); \
INLINE_FUNCTION_HD real atan(real x)
INLINE_FUNCTION_HD real atan2(real y, real x)
INLINE_FUNCTION_HD real atanh(real x)
INLINE_FUNCTION_HD real cos(real x)
INLINE_FUNCTION_H Type min(const Type *first, int32 numElems)
INLINE_FUNCTION_HD real sin(real x)
INLINE_FUNCTION_HD real cosh(real x)
INLINE_FUNCTION_HD real asin(real x)
INLINE_FUNCTION_HD real log10(real x)
INLINE_FUNCTION_HD real log(real x)
INLINE_FUNCTION_HD real tan(real x)
INLINE_FUNCTION_HD real sinh(real x)
INLINE_FUNCTION_H Type max(const Type *first, int32 numElems)
Vector< T, Allocator > pow(const Vector< T, Allocator > &v, T e)
INLINE_FUNCTION_HD real abs(real x)
INLINE_FUNCTION_HD real acos(real x)
INLINE_FUNCTION_HD real mod(real x, real y)
INLINE_FUNCTION_HD real tanh(real x)
INLINE_FUNCTION_HD real exp(real x)
T max(const Vector< T, Allocator > &v)
INLINE_FUNCTION_HD real asinh(real x)
INLINE_FUNCTION_HD real acosh(real x)
INLINE_FUNCTION_HD real sqrt(real x)
INLINE_FUNCTION_HD real cbrt(real x)
#define INLINE_FUNCTION_HD
T min(const Vector< T, Allocator > &v)