Policies & Guidelines

RANDOM_ARRAY

Generates an array of random numbers

Description

Generates an array of (pseudo) random numbers, each between 0 (inclusive) and 1 (exclusive), i.e. 0 ≤ n < 1.

Function signature

RANDOM_ARRAY(count: Number) => Array

Parameter

Description

Count

Count of numbers to generate

Examples

Formula

Return value

RANDOM_ARRAY(1)

[0.94954233]

RANDOM_ARRAY(3)

[0.42339495,0.92366945,0.11705423]