# Function std_dev::standard_deviation

source · ```
pub fn standard_deviation<'a, T: StandardDeviation<'a>>(
values: &'a [T]
) -> StandardDeviationOutput<T>
```

## Expand description

Get the standard deviation of `values`

.
The mean is also returned from this, because it’s required to compute the standard deviation.

O(n)