Module rstats::functions [−][src]
Functions
Generates a vector of n vectors, each of length d, all filled with random numbers for testing.
It needs two seeds s1 and s2. Same seeds will produce the same random sequence.
Uses local closure rand
to generate random numbers (avoids dependencies).
Random numbers are in the open interval 0..1 with uniform distribution.
Generates a vector of n vectors, each of length d, all filled with random numbers for testing.
It needs two seeds s1 and s2. Same seeds will produce the same random sequence.
Uses local closure rand
to generate random numbers (avoids dependencies).
Random numbers are in the closed interval 0..255 with uniform distribution.
Necessary recast of a whole i64 slice to f64
Potentially useful recast of a whole slice
Sum of linear weights 1..n. Also the size of an upper or lower triangular array (including the diagonal)