# Module extendr_api::prelude::stats

## Expand description

Statistics-related utilities.

## Structs§

- The normal distribution,
`N(mean, std_dev**2)`

. - The normal distribution,
`N(mean, std_dev**2)`

for`0 <= i < nrows`

. - The normal distribution,
`N(mean, std_dev**2)`

for`0 <= i < nrows`

,`0 <= j < ncols`

. - The normal distribution,
`N(mean, std_dev**2)`

for`0 <= j < ncols`

. - The standard distribution. Samples uniformly distributed values for
`0 <= i < nrows`

. - The standard distribution. Samples uniformly distributed values for
`0 <= i < nrows`

,`0 <= j < ncols`

. - The standard normal distribution,
`N(0, 1)`

for`0 <= i < nrows`

. - The standard normal distribution,
`N(0, 1)`

for`0 <= i < nrows`

,`0 <= j < ncols`

. - The standard normal distribution,
`N(0, 1)`

for`0 <= j < ncols`

. - The standard distribution. Samples uniformly distributed values for
`0 <= j < ncols`

. - Uniformly samples a unitary matrix from the unitary group, in the sense of the Haar measure.

## Enums§

- Specifies how missing values should be handled in mean and variance computations.

## Functions§

- Computes the mean of the columns of
`mat`

and stores the result in`out`

. - Computes the variance of the columns of
`mat`

given their mean, and stores the result in`out`

. - Computes the mean of the rows of
`mat`

and stores the result in`out`

. - Computes the variance of the rows of
`mat`

given their mean, and stores the result in`out`

.