pub unsafe extern "C" fn fvec_weight(
    s: *mut fvec_t,
    weight: *const fvec_t
)
Expand description

apply weight to vector

If the weight vector is longer than s, only the first elements are used. If the weight vector is shorter than s, the last elements of s are not weighted.

\param s vector to weight \param weight weighting coefficients