[ VIGRA Homepage | Class Index | Function Index | File Index | Main Page ]
![]() |
Mathematical Functions | ![]() |
---|
Classes | |
class | BSpline |
class | BSplineBase |
class | CatmullRomSpline |
class | CoscotFunction |
class | Gaussian |
Functions | |
template<class T> double | erf (T x) |
template<class T> NumericTraits< T >::Promote | sq (T t) |
template<class T> T | sign (T t) |
template<class T1, class T2> T1 | sign (T1 t1, T2 t2) |
template<typename IntType> IntType | gcd (IntType n, IntType m) |
template<typename IntType> IntType | lcm (IntType n, IntType m) |
result_type | operator() (argument_type x) const |
Detailed Description |
|
The error function.
With the exception of Solaris (where
![]()
according to the formula given in Press et al. "Numerical Recipes".
#include "vigra/mathutil.hxx" |
|
Calculate the greatest common divisor. This function works for arbitrary integer types, including user-defined (e.g. infinite precision) ones.
#include "vigra/rational.hxx" |
|
Calculate the lowest common multiple. This function works for arbitrary integer types, including user-defined (e.g. infinite precision) ones.
#include "vigra/rational.hxx" |
|
function (functor) call |
|
The binary sign function. Transfers the sign of t2 to t1.
#include "vigra/mathutil.hxx" |
|
The sign function. Returns 1, 0, or -1 depending on the signm of t.
#include "vigra/mathutil.hxx" |
|
The square function. sq(x) is needed so often that it makes sense to define it as a function.
#include "vigra/mathutil.hxx" |
© Ullrich Köthe (koethe@informatik.uni-hamburg.de) |
html generated using doxygen and Python
|