Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 690 Bytes

vector.scalaroperations.random.md

File metadata and controls

31 lines (18 loc) · 690 Bytes

Home > @josh-brown/vector > ScalarOperations > random

ScalarOperations.random() method

Returns a random scalar value between min and max

Signature:

abstract random(min: number, max: number): S;

Parameters

Parameter Type Description
min number
max number

Returns:

S

The random scalar

Remarks

This might not be a meaningful value for non-real-values scalar types