Last update Fri Apr 28 11:05:24 2006
std
 std.array
 std.atomic
 std.bitarray
 std.exception
 std.intrinsic
 std.memory
 std.regexp
 std.thread
 std.traits
 std.unicode
 std.vararg
 std.math.core
 std.math.ieee
 std.math.special

std.math.special



real erf(real x);
Returns the error function of x.

real erfc(real x);
Returns the complementary error function of x, which is 1 - erf(x).

real gamma(real x);
The Gamma function, (x)

(x) is a generalisation of the factorial function to real and complex numbers. Like x!, (x+1) = x*(x).

Mathematically, if z.re > 0 then (z) =0tz-1e-tdt



References:
http://en.wikipedia.org/wiki/Gamma_function, http://www.netlib.org/cephes/ldoubdoc.html#gamma

real loggamma(real x);
Natural logarithm of gamma function.

Returns the base e (2.718...) logarithm of the absolute value of the gamma function of the argument.

For reals, lgamma is equivalent to log(fabs(gamma(x))).