randStudent

Syntax

randStudent(df, count)

Arguments

df is a positive floating number indicating the degree of freedom of a Student's t-distribution.

count is the number of random values to be generated.

Details

Return a vector of random values with Student's t-distribution.

Examples

randStudent(2.31, 2);
// output
[-0.543993, 0.375804]