Module revonet::math [] [src]

Functions

dot

Dot product between two vectors.

dot_mv

Multiplication of matrix by a vector.

max

Find maximal element in a given vector.

mean

Compute mean value for a given vector.

min

Find minimal element in a given vector.

rand_matrix_std_gauss

Generates random matrix where each element is drawn from the standard Gaussian distribution.

rand_vector

Generates random vector where each element is drawn from the uniform distribution U(0,1).

rand_vector_std_gauss

Generates random vector where each element is drawn from the standard Gaussian distribution.

sub

Subtraction of vectors. Does xs - ys.