mln::math Namespace Reference

Namespace of mathematical routines. More...


Functions

template<unsigned n>
value::int_u< n > abs (const value::int_u< n > &v)
 Specialization for mln::value::int_u.
template<typename T >
abs (const T &v)
 Generic version.
int abs (int v)
 Specializations for existing overloads of std::abs.


Detailed Description

Namespace of mathematical routines.


Function Documentation

template<unsigned n>
value::int_u< n > mln::math::abs ( const value::int_u< n > &  v  )  [inline]

Specialization for mln::value::int_u.

int mln::math::abs ( int  v  )  [inline]

Specializations for existing overloads of std::abs.

Reference: ISO/IEC 14882:2003 C++ standard, section 26.5 (C Library, [lib.c.math]).

References abs().

template<typename T >
T mln::math::abs ( const T &  v  )  [inline]

Generic version.

Referenced by abs(), and mln::morpho::line_gradient().


Generated on Tue Jul 14 16:33:12 2009 for Milena (Olena) by  doxygen 1.5.9