2.1.24.5.4.2 wblpdf


Description

Weibull distribution probability density function

Syntax

double wblpdf( const double x, double a, double b, int * nFail = NULL )

Parameters

x
[input] the value of Weibull random variable x
a
[input] the scale parameter, a, of the required Weibull distribution
b
[input] the shape parameter, b, of the required Weibull distribution
nFail
[output] fail code

Return

Returns Weibull distribution probability density

Examples

EX1

void wblpdf_ex1()
{
	double x[]= {0.25, 0.5, 0.75};
	double a = 1.0, b =3;
	for(int ii = 0; ii<3; ii++)
		printf("%f	%f	%f:	%f\n", x[ii], a, b, wblpdf(x[ii], a, b));
}

Remark

See Also

wblcdf

Header to Include

origin.h

Reference