std#

rbc.stdlib.statistical_functions.std(x, axis=None, correction=0.0, keepdims=False)#

Calculates the standard deviation of the input array x.

Examples

>>> from rbc.stdlib import array_api
>>> @heavydb('float64(int64[])')
... def rbc_std(X):
...     return array_api.std(X)
>>> rbc_std([1, 2, 3]).execute()
0.8164966

Array-API ‘std’ doc