Home > @josh-brown/vector > ComplexNumberOperations > random
Returns a random scalar value between min and max
Signature:
random(min?: number, max?: number): ComplexNumber;|
Parameter |
Type |
Description |
|---|---|---|
|
min |
number |
(Optional) |
|
max |
number |
(Optional) |
Returns:
The random scalar
This might not be a meaningful value for non-real-values scalar types