Example #1
0
 public static int perform_ifft(double[] re, double[] im, int len, double[] data)
 {
     if (System.Environment.Is64BitProcess)
     {
         return(DataHandlerLibrary64.perform_ifft(re, im, len, data));
     }
     else
     {
         return(DataHandlerLibrary32.perform_ifft(re, im, len, data));
     }
 }
        public static int perform_ifft(double[] re, double[] im, int len, double[] data)
        {
            switch (PlatformHelper.get_library_environment())
            {
            case LibraryEnvironment.x64:
                return(DataHandlerLibrary64.perform_ifft(re, im, len, data));

            case LibraryEnvironment.x86:
                return(DataHandlerLibrary32.perform_ifft(re, im, len, data));

            case LibraryEnvironment.Linux:
                return(DataHandlerLibraryLinux.perform_ifft(re, im, len, data));

            case LibraryEnvironment.MacOS:
                return(DataHandlerLibraryMac.perform_ifft(re, im, len, data));
            }

            return((int)CustomExitCodes.GENERAL_ERROR);
        }