pub unsafe extern "C" fn new_cvec(length: uint_t) -> *mut cvec_t
Expand description

cvec_t buffer creation function

This function creates a cvec_t structure holding two arrays of size [length/2+1], corresponding to the norm and phase values of the spectral frame. The length stored in the structure is the actual size of both arrays, not the length of the complex and symmetrical vector, specified as creation argument.

\param length the length of the buffer to create