pNormal2D

pNormal2D(*args)

Cumulative distribution function of a 2D standard Normal distribution.

Parameters:
x1float

First component of \vect{x}.

x2float

Second component of \vect{x}.

rhofloat

Correlation between the first and second margin.

tailbool, optional

Tail flag. Default value is False. If True, the complementary CDF is computed.

Returns:
pfloat

The CDF or the complementary CDF at point \vect{x} = (x_1, x_2).

Notes

The Normal distribution is bidimensional, centered and with a unit-variance.

The second calling signature computes the rectangular probability \Prob{a_1 \leq X_1 \leq b_1, a_2 \leq X_2 \leq b_2}.

Examples

>>> import openturns as ot
>>> cdf = ot.DistFunc.pNormal2D(1.0, 1.0, 0.9)
>>> cdf = ot.DistFunc.pNormal2D(1.0, 1.0, 0.9, True)
>>> prob = ot.DistFunc.pNormal2D(-1.0, -1.0, 1.0, 1.0, 0.9)