[−][src]Module lbfgs::vec_ops
vec_ops
Matrix operations used by the L-BFGS algorithm.
Functions
difference_and_save | Calculates the difference of two slices and saves it in the third: out = a - b |
inner_product | Calculate the inner product of two slices |
inplace_vec_add | Calculates out = out + s * a |
norm1 | Calculate the 1-norm of a slice |
norm2_sq | Calculate the squared 2-norm of a slice |
norm2 | Calculate the 2-norm of a slice |
norm_inf | Calculate the infinity-norm of a slice |
scalar_mult | Calculates a scalar times slice: out = s * out |