# naginterfaces.library.stat.pdf_​gamma_​vector¶

naginterfaces.library.stat.pdf_gamma_vector(ilog, x, a, b)[source]

pdf_gamma_vector returns a number of values of the probability density function (PDF), or its logarithm, for the gamma distribution.

For full information please refer to the NAG Library document for g01kk

https://www.nag.com/numeric/nl/nagdoc_28.4/flhtml/g01/g01kkf.html

Parameters

The value of determines whether the logarithmic value is returned in .

, the probability density function is returned.

, the logarithm of the probability density function is returned.

xfloat, array-like, shape

, the values at which the PDF is to be evaluated.

afloat, array-like, shape

, the shape parameter.

bfloat, array-like, shape

, the scale parameter.

Returns
pdffloat, ndarray, shape

or .

ivalidint, ndarray, shape

indicates any errors with the input arguments, with

No error.

.

.

overflows, the value returned should be a reasonable approximation.

Raises
NagValueError
(errno )

On entry, .

Constraint: or .

(errno )

On entry, .

Constraint: .

(errno )

On entry, .

Constraint: .

(errno )

On entry, .

Constraint: .

Warns
NagAlgorithmicWarning
(errno )

On entry, at least one value of , or was invalid.