Skip to main content

NDArray::standard_normal

public static function standard_normal(array $size): NDArray;

Generates an array of random numbers from the standard normal distribution. The standard normal distribution is a special case of the normal distribution with mean (μ) equal to 0 and standard deviation (σ) equal to 1.