new_cvec method
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
Implementation
ffi.Pointer<cvec_t> new_cvec(
int length,
) {
return _new_cvec(
length,
);
}