[][src]Function aubio_sys::fmat_weight

pub unsafe extern "C" fn fmat_weight(s: *mut fmat_t, weight: *const fmat_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