Origin Version (Select Help-->About Origin): v8.0725
Operating System: Windows XP Professional
Line of code breaks when upgrading Origin from v7.5885 to v8.0725
status = nag_fft_real(iN,vX); //call NAG function
compiling...
StackedCharts.C
C:\Project\StackedCharts.C(948) :Error, function or variable nag_fft_real not found
C:\Project\StackedCharts.C(948) :Error, general compile error
--------------
I have searched the ..\OriginC\System folder for any files containing the function name 'nag_fft_real', and found that Origin 7.5 contains the function in C:\Program Files\OriginLab\Origin75\OriginC\system\NAG\OCN_c06.h
int nag_fft_real(
int n, //the number of data values.
double x[] // Input: contained in x[j], for j = 0, 1, . . . , n - 1. Output: the discrete Fourier transform stored in Hermitian form.
); // Given a sequence of n real data values xj, for j = 0, 1, . . . , n - 1, this function calculates their discrete Fourier transform.
Origin 8 does not contain the function in any of the files. The only reference to the function is in C:\Program Files\OriginLab\Origin8\OriginC\System\NAG8\nag_names.h
#define nag_fft_real c06eac /* Mark 1 */
--------------
Is there any reason why the 'nag_fft_real' function is not included in Origin version 8? Is there a way to get this working in version 8? Any and all help would be appreciated.