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>
82 template <
typename AutoT1,
typename AutoT2>
106 template <
typename AutoT1,
typename AutoT2>
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.
Namespace agx contains the dynamics/math part of the AGX Dynamics API.
void Neg(AutoT1 &result, const AutoT2 &arg)
Function: Math.Neg Implementation: (default)
void Neg(const agx::RangeJob &job, agxData::Array< AutoT1 > &result, const AutoT2 &arg)
Function: Math.Neg Implementation: (default)