This function evaluates the Weibull probability density function.
WBLPR — Function value, the value of the probability density function. (Output)
X — Argument for which the Weibull probability density function is to be evaluated. (Input)
A — Scale parameter. (Input)
B — Shape parameter. (Input)
Generic: WBLPR (X, A, B)
Specific: The specific interface names are S_WBLPR and D_WBLPR.
Single: WBLPR (X, A, B)
Double: The double precision name is DWBLPR.
The function WBLPR evaluates the Weibull probability density function with scale parameter A and shape parameter B, defined
.
In this example, we evaluate the Weibull probability density function at X = 1.5, A = 1.0, B = 2.0.
USE
UMACH_INT
USE
WBLPR_INT
IMPLICIT NONE
INTEGER NOUT
REAL X, A, B, PR`
CALL UMACH(2, NOUT)
X = 1.5
A = 1.0
B = 2.0
PR = WBLPR(X, A, B)
WRITE (NOUT, 99999) X, A, B, PR
99999 FORMAT (' WBLPR(', F4.2, ', ', F4.2, ', ', F4.2, ') = ', F6.4)
END
WBLPR(1.50, 1.00, 2.00) = 0.3162
PHONE: 713.784.3131 FAX:713.781.9260 |