Skip to main content

NDArray::normal

public static function normal(array $size, float $loc = 0.0, float $scale = 1.0): NDArray;

Generates an array of random numbers from a normal distribution. The normal distribution, also known as the Gaussian distribution, is a continuous probability distribution that is symmetric and bell-shaped.