# randGamma {#randgamma}

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

## Syntax {#syntax}

`randGamma(shape, scale, count)`

## Arguments {#arguments}

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

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

**count** is the number of random values to be generated.

## Details {#details}

Return a vector of random values with gamma distribution.

## Examples {#examples}

```
randGamma(2.31, 0.671, 2);
// output: [0.784424, 0.716934]
```

