This function evaluates the standard normal probability density function.
ANORPR — Function value, the value of the probability density function. (Output)
X — Argument for which the normal probability density function is to be evaluated. (Input)
Generic: ANORPR (X)
Specific: The specific interface names are S_NORPR and D_NORPR.
Single: ANORPR (X)
Double: The double precision name is DNORPR.
The function ANORPR evaluates the normal probability density function, defined as
.
In this example, we evaluate the probability function at X = 0.5.
USE
UMACH_INT
USE
ANORPR_INT
IMPLICIT NONE
INTEGER NOUT
REAL X, PR
CALL UMACH(2, NOUT)
X = 0.5
PR = ANORPR(X)
WRITE (NOUT, 99999) X, PR
99999 FORMAT (' ANORPR(', F4.2, ') = ', F6.4)
END
ANORPR(0.50) = 0.3521
PHONE: 713.784.3131 FAX:713.781.9260 |