Skip to content

Latest commit

 

History

History
86 lines (40 loc) · 1.12 KB

File metadata and controls

86 lines (40 loc) · 1.12 KB

Home > @josh-brown/vector > VectorBuilder > randomNormal

VectorBuilder.randomNormal() method

Constructs a vector whose entries are normally distributed, with the specified mean and standard deviation

Signature:

randomNormal(dimension: number, mean?: number, standardDeviation?: number): V;

Parameters

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