Module revonet::math
[−]
[src]
Functions
acc |
Accumulates element-wise addition of xs and ys. |
dot |
Dot product between two vectors. |
dot_mv |
Multiplication of matrix by a vector. |
max |
Find maximal element in a given vector. |
max_inplace_vv |
Computes element-wise max element for two given vectors and stores result in the first argument. |
mean |
Compute mean value for a given vector. |
min |
Find minimal element in a given vector. |
min_inplace_vv |
Computes element-wise min element for two given vectors and stores result in the first argument. |
mul_inplace |
Inplace multiplication of vector by number. Result is stored in the argument 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. |
sqr |
Computes element-wise square for the given vector. |
sub |
Subtraction of vectors. Does |
sub_inplace |
Inplace subtraction of vectors. Does |
var |
Compute unbiased variance deviation for a given vector. |