Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members

# Math_tools Namespace Reference

## Functions

template<typename Vec2, typename Real> void barycentric_coordinates (const Vec2 &A, const Vec2 &B, const Vec2 &C, const Vec2 &M, Real *const a, Real *const b, Real *const c)
void init_random ()
template<typename Real> Real random (const Real min_value_included, const Real max_value_included)
template<typename ValueIterator> double entropy (ValueIterator begin, ValueIterator end)
template<typename Real> Real clamp (const Real min_value, const Real max_value, const Real x)
template<typename Array, typename Real> Array::value_type bilinear_interpolation (const Array &array, const Real x, const Real y)
template<typename Real> Real sign (const Real r)
template<typename T> bool is_quiet_NaN (T x)
template<typename T> bool is_signaling_NaN (T x)
template<typename T> bool is_NaN (T x)

## Function Documentation

 template void Math_tools::barycentric_coordinates ( const Vec2 & A, const Vec2 & B, const Vec2 & C, const Vec2 & M, Real *const a, Real *const b, Real *const c ) ` [inline]`

 template Array::value_type Math_tools::bilinear_interpolation ( const Array & array, const Real x, const Real y ) ` [inline]`

 template Real Math_tools::clamp ( const Real min_value, const Real max_value, const Real x ) ` [inline]`

 double Math_tools::degree_to_radian ( const double d ) ` [inline]`

 template double Math_tools::entropy ( ValueIterator begin, ValueIterator end ) ` [inline]`

 void init_random ( ) ` [inline]`

 template bool Math_tools::is_NaN ( T x ) ` [inline]`

 template bool Math_tools::is_quiet_NaN ( T x ) ` [inline]`

 template bool Math_tools::is_signaling_NaN ( T x ) ` [inline]`

 double Math_tools::radian_to_degree ( const double r ) ` [inline]`

 template Real Math_tools::random ( const Real min_value_included, const Real max_value_included ) ` [inline]`

 template Real Math_tools::sign ( const Real r ) ` [inline]`

Generated on Fri Aug 20 15:03:53 2004 by 1.2.18