Go to the documentation of this file.
25 #define T3Func(fnName) \
26 template<typename T> \
27 INLINE_FUNCTION_HD triple<T> fnName(const triple<T>& v) \
29 return triple<T>(fnName(v.x_), fnName(v.y_), fnName(v.z_)); \
32 #define T3Func2(fnName) \
33 template<typename T> \
34 INLINE_FUNCTION_HD triple<T> fnName( \
35 const triple<T>& arg1, const triple<T>& arg2 \
39 fnName(arg1.x_, arg2.x_), \
40 fnName(arg1.y_, arg2.y_), \
41 fnName(arg1.z_, arg2.z_) \
Vector< T, Allocator > exp(const Vector< T, Allocator > &v)
Vector< T, Allocator > atan(const Vector< T, Allocator > &v)
Vector< T, Allocator > asin(const Vector< T, Allocator > &v)
Vector< T, Allocator > cbrt(const Vector< T, Allocator > &v)
Vector< T, Allocator > sinh(const Vector< T, Allocator > &v)
Vector< T, Allocator > pow(const Vector< T, Allocator > &v1, const Vector< T, Allocator > &v2)
Vector< T, Allocator > sqrt(const Vector< T, Allocator > &v)
Vector< T, Allocator > cosh(const Vector< T, Allocator > &v)
Vector< T, Allocator > cos(const Vector< T, Allocator > &v)
T max(const internalField< T, MemorySpace > &iField)
Vector< T, Allocator > asinh(const Vector< T, Allocator > &v)
Vector< T, Allocator > log10(const Vector< T, Allocator > &v)
Vector< T, Allocator > log(const Vector< T, Allocator > &v)
Vector< T, Allocator > mod(const Vector< T, Allocator > &v1, const Vector< T, Allocator > &v2)
Vector< T, Allocator > abs(const Vector< T, Allocator > &v)
T min(const internalField< T, MemorySpace > &iField)
Vector< T, Allocator > sin(const Vector< T, Allocator > &v)
Vector< T, Allocator > atanh(const Vector< T, Allocator > &v)
Vector< T, Allocator > tanh(const Vector< T, Allocator > &v)
Vector< T, Allocator > atan2(const Vector< T, Allocator > &v1, const Vector< T, Allocator > &v2)
#define INLINE_FUNCTION_HD
A set of 3 variables that can be used for vector variables.
Vector< T, Allocator > tan(const Vector< T, Allocator > &v)
Vector< T, Allocator > acosh(const Vector< T, Allocator > &v)
Vector< T, Allocator > acos(const Vector< T, Allocator > &v)