# invGamma {#invgamma}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax}

`invGamma(shape, scale, X)`

## Arguments {#arguments}

The shape parameter **shape** is a positive floating number.

The scale parameter **scale** is a positive floating number.

**X** is a floating scalar or vector between 0 and 1.

## Details {#details}

Return the value of a gamma inverse cumulative distribution function.

## Examples {#examples}

```
invGamma(2.31, 0.627, [0.001, 0.5, 0.999]);
// output: [0.049713, 1.245583, 6.191955]

invGamma(2.31,0.627, [0.1, 0.3, 0.5, 0.7, 0.9]);
// output: [0.437696, 0.843572, 1.245583, 1.760732, 2.724121]
```

