Back to Core Functions
std
Standard deviation
Syntax
S = std(A) S = std(A, dim)
Description
Returns the standard deviation of the elements. With a dimension argument, computes along that dimension.
Parameters
| Name | Description |
|---|---|
| A | Input array (scalar or NDArray) |
| dim(optional) | Dimension (1-indexed) |
Returns
Standard deviation (scalar or NDArray)