# naginterfaces.library.stat.prob_​vavilov¶

naginterfaces.library.stat.prob_vavilov(x, comm)[source]

prob_vavilov returns the value of the Vavilov distribution function .

It is intended to be used after a call to init_vavilov().

For full information please refer to the NAG Library document for g01eu

https://www.nag.com/numeric/nl/nagdoc_28.7/flhtml/g01/g01euf.html

Parameters
xfloat

The argument of the function.

commdict, communication object

Communication structure.

This argument must have been initialized by a prior call to init_vavilov().

Returns
pfloat

The value of the Vavilov distribution function .

Raises
NagValueError
(errno )

Either the initialization function has not been called prior to the first call of this function or a communication array has become corrupted.

Notes

prob_vavilov evaluates an approximation to the Vavilov distribution function given by

where is described in pdf_vavilov(). The method used is based on Fourier expansions. Further details can be found in Schorr (1974).

References

Schorr, B, 1974, Programs for the Landau and the Vavilov distributions and the corresponding random numbers, Comp. Phys. Comm. (7), 215–224