public static int perform_rolling_filter(double[] data, int len, int period, int operation) { if (System.Environment.Is64BitProcess) { return(DataHandlerLibrary64.perform_rolling_filter(data, len, period, operation)); } else { return(DataHandlerLibrary32.perform_rolling_filter(data, len, period, operation)); } }
public static int perform_rolling_filter(double[] data, int len, int period, int operation) { switch (PlatformHelper.get_library_environment()) { case LibraryEnvironment.x64: return(DataHandlerLibrary64.perform_rolling_filter(data, len, period, operation)); case LibraryEnvironment.x86: return(DataHandlerLibrary32.perform_rolling_filter(data, len, period, operation)); case LibraryEnvironment.Linux: return(DataHandlerLibraryLinux.perform_rolling_filter(data, len, period, operation)); case LibraryEnvironment.MacOS: return(DataHandlerLibraryMac.perform_rolling_filter(data, len, period, operation)); } return((int)CustomExitCodes.GENERAL_ERROR); }