Skip to main content

NDArray::std

public static function std(NDArray|array|float|int $a): float|int;

Calculates the standard deviation of the elements in the array. It is the square root of the variance and provides a measure of the amount of variation or dispersion in the data.


Notes

tip

GPU SUPPORTED

This operation is supported by GPU (VRAM) and contains a custom CUDA kernel.