WBLPR
This function evaluates the Weibull probability density function.
Function Return Value
WBLPR — Function value, the value of the probability density function. (Output)
Required Arguments
X — Argument for which the Weibull probability density function is to be evaluated. (Input)
A — Scale parameter. (Input)
B — Shape parameter. (Input)
FORTRAN 90 Interface
Generic: WBLPR (X, A, B)
Specific: The specific interface names are S_WBLPR and D_WBLPR.
FORTRAN 77 Interface
Single: WBLPR (X, A, B)
Double: The double precision name is DWBLPR.
Description
The function WBLPR evaluates the Weibull probability density function with scale parameter A and shape parameter B, defined
Example
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
Output
 
WBLPR(1.50, 1.00, 2.00) = 0.3162
Published date: 03/19/2020
Last modified date: 03/19/2020