Home > @josh-brown/vector > VectorBuilder > randomNormal
Constructs a vector whose entries are normally distributed, with the specified mean and standard deviation
Signature:
randomNormal(dimension: number, mean?: number, standardDeviation?: number): V;|
Parameter |
Type |
Description |
|---|---|---|
|
dimension |
number |
The dimension of the new vector |
|
mean |
number |
(Optional) The center of the distribution of random numbers to include |
|
standardDeviation |
number |
(Optional) The standard deviation of the distribution of random numbers to include |
Returns:
V