22 #ifndef AGXFN_MATH_MIN_H
23 #define AGXFN_MATH_MIN_H
33 namespace agx {
namespace Math { } }
47 template <
typename AutoT1,
typename AutoT2,
typename AutoT3>
56 result =
std::min(arg1, (AutoT2)arg2);
60 template <
typename AutoT1,
typename AutoT2,
typename AutoT3>
68 agxFn::Math::Min(result, arg1, arg2);
83 template <
typename AutoT1,
typename AutoT2,
typename AutoT3>
95 agxFn::Math::Min(result[i], arg1[i], arg2[i]);
109 template <
typename AutoT1,
typename AutoT2,
typename AutoT3>
121 agxFn::Math::Min(result[i], arg1[i], arg2);
135 template <
typename AutoT1,
typename AutoT2,
typename AutoT3>
147 agxFn::Math::Min(result[i], arg1, arg2[i]);
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.
Vec3T< T > min(const Vec3T< T > &lhs, const Vec3T< T > &rhs)