[][src]Function aubio_sys::fvec_weight

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

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