2.1.24.5.3.9 ocmath_betainv


Contents

Description

Inverse Beta cumulative distribution function

Syntax

OCMATH_API double ocmath_betainv( double p, double a, double b )

Parameters

p
[input] the probability from the required beta distribution. .
a
[input] the first shape parameter, must be in (0.0, 1.0e6].
b
[input] the second shape parameter, must be in (0.0, 1.0e6].

Return

Returns the value of inverse Beta cumulative distribution function for probability, p

Examples

EX1

void test_ocmath_betainv()
{
	double d;
	d = ocmath_betainv(0.95, 16, 99999985);
	return;
}

Remark

See Also

betainv

Header to Include

origin.h

Reference