Home > @josh-brown/vector > ScalarOperations > randomNormal
Returns a random scalar value from a normal distribution centered on mean
with standard deviation standardDeviation
Signature:
abstract randomNormal(mean: number, standardDeviation: number): S;
Parameter | Type | Description |
---|---|---|
mean | number | |
standardDeviation | number |
Returns:
S
The random scalar
This might not be a meaningful value for non-real-valued scalar types