22 #ifndef AGXFN_MATH_ABS_H 23 #define AGXFN_MATH_ABS_H 33 namespace agx {
namespace Math { } }
46 template <
typename AutoT1,
typename AutoT2>
54 result = (AutoT1)std::abs(arg);
58 template <
typename AutoT1,
typename AutoT2>
65 agxFn::Math::Abs(result, arg);
79 template <
typename AutoT1,
typename AutoT2>
90 agxFn::Math::Abs(result[i], arg[i]);
103 template <
typename AutoT1,
typename AutoT2>
114 agxFn::Math::Abs(result[i], arg);
Type-specific Array used for fast access into the data held by a Buffer.
A range job executes a kernel implementation on a subset of the data.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.