public static int perform_wavelet_transform(double[] data, int data_len, string wavelet, int decomposition_level, double[] output_data, int[] decomposition_lengths) { if (System.Environment.Is64BitProcess) { return(DataHandlerLibrary64.perform_wavelet_transform(data, data_len, wavelet, decomposition_level, output_data, decomposition_lengths)); } else { return(DataHandlerLibrary32.perform_wavelet_transform(data, data_len, wavelet, decomposition_level, output_data, decomposition_lengths)); } }
public static int perform_wavelet_transform(double[] data, int data_len, string wavelet, int decomposition_level, double[] output_data, int[] decomposition_lengths) { switch (PlatformHelper.get_library_environment()) { case LibraryEnvironment.x64: return(DataHandlerLibrary64.perform_wavelet_transform(data, data_len, wavelet, decomposition_level, output_data, decomposition_lengths)); case LibraryEnvironment.x86: return(DataHandlerLibrary32.perform_wavelet_transform(data, data_len, wavelet, decomposition_level, output_data, decomposition_lengths)); case LibraryEnvironment.Linux: return(DataHandlerLibraryLinux.perform_wavelet_transform(data, data_len, wavelet, decomposition_level, output_data, decomposition_lengths)); case LibraryEnvironment.MacOS: return(DataHandlerLibraryMac.perform_wavelet_transform(data, data_len, wavelet, decomposition_level, output_data, decomposition_lengths)); } return((int)CustomExitCodes.GENERAL_ERROR); }