Convert from Hermitian form to general complex
int fft_hermitian_to_complex( int iSize, double * vHermitian, d_complex * vComplex )
Return 0 for success.
EX1
#include <..\OriginLab\fft.h> void fft_hermitian_to_complex_ex1() { vector vy = {0, 0, 0, 1, 1, 1, 0, 0, 0}; int nSize = vy.GetSize(); fft_fft_real(nSize, vy); vector<complex> vResult(nSize); fft_hermitian_to_complex(nSize, vy, vResult); }
fft.h