Public Shared Function g01ft ( _ x As Double, _ <OutAttribute> ByRef ifail As Integer _ ) As Double
public: static double g01ft( double x, [OutAttribute] int% ifail )
- Type: System..::..DoubleOn entry: the argument of the function.Constraint: .
g01ft evaluates an approximation to the inverse of the Landau distribution function given by
(where is described in g01et and g01mt), using either linear or quadratic interpolation or rational approximations which mimic the asymptotic behaviour. Further details can be found in Kölbig and Schorr (1984).
It can also be used to generate Landau distributed random numbers in the range .
Kölbig K S and Schorr B (1984) A program package for the Landau distribution Comp. Phys. Comm. 31 97–111
At least significant digits are correct. Such accuracy is normally considered to be adequate for applications in large scale Monte–Carlo simulations.
This example evaluates at , and prints the results.