22 #ifndef AGXFN_MATH_NEG_H 23 #define AGXFN_MATH_NEG_H 36 namespace agx {
namespace Math { } }
49 template <
typename AutoT1,
typename AutoT2>
57 result = (AutoT1)(-arg);
61 template <
typename AutoT1,
typename AutoT2>
68 agxFn::Math::Neg(result, arg);
82 template <
typename AutoT1,
typename AutoT2>
93 agxFn::Math::Neg(result[i], arg[i]);
106 template <
typename AutoT1,
typename AutoT2>
117 agxFn::Math::Neg(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.