neuray API Programmer's Manual

mi::math::general Namespace Reference

[Math Functions]

Description

Namespace for generic functions in the Math API.

Functions

template< class Vector, class UnaryFunctor>void  ( Vector& vec, UnaryFunctor f)
Generic transform function that applies a unary functor (in-place). More...
template< class Vector1, class Vector2, class BinaryFunctor>void  ( Vector1& vec1, const Vector2& vec2, BinaryFunctor f)
Generic transform function that applies a binary functor (in-place). More...
template< class Vector, class ResultVector, class UnaryFunctor>void  ( 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  ( 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  ( 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  ( const Vector& vec, const Scalar& s, ResultVector& result, BinaryFunctor f)
Generic transform function that applies a binary functor (return value, RHS scalar). More...