Namespace for generic functions in the Math API. More...
Functions | |
template<class Vector , class ResultVector , class UnaryFunctor > | |
void | transform (const Vector &vec, ResultVector &result, UnaryFunctor f) |
Generic transform function that applies a unary functor (return value). More... | |
template<class Vector1 , class Vector2 , class ResultVector , class BinaryFunctor> | |
void | transform (const Vector1 &vec1, const Vector2 &vec2, ResultVector &result, BinaryFunctor f) |
Generic transform function that applies a binary functor (return value). More... | |
template<class Scalar , class Vector , class ResultVector , class BinaryFunctor > | |
void | transform_left_scalar (const Scalar &s, const Vector &vec, ResultVector &result, BinaryFunctor f) |
Generic transform function that applies a binary functor (return value, LHS scalar). More... | |
template<class Scalar , class Vector , class ResultVector , class BinaryFunctor > | |
void | transform_right_scalar (const Vector &vec, const Scalar &s, ResultVector &result, BinaryFunctor f) |
Generic transform function that applies a binary functor (return value, RHS scalar). More... | |
template<class Vector , class UnaryFunctor > | |
void | for_each (Vector &vec, UnaryFunctor f) |
Generic transform function that applies a unary functor (in-place). More... | |
template<class Vector1 , class Vector2 , class BinaryFunctor> | |
void | for_each (Vector1 &vec1, const Vector2 &vec2, BinaryFunctor f) |
Generic transform function that applies a binary functor (in-place). More... | |
Namespace for generic functions in the Math API.