public static int get_csp(double[] data, double[] labels, int n_epochs, int n_channels, int n_times, double[] output_filters, double[] output_eigenvalues) { switch (PlatformHelper.get_library_environment()) { case LibraryEnvironment.x64: return(DataHandlerLibrary64.get_csp(data, labels, n_epochs, n_channels, n_times, output_filters, output_eigenvalues)); case LibraryEnvironment.x86: return(DataHandlerLibrary32.get_csp(data, labels, n_epochs, n_channels, n_times, output_filters, output_eigenvalues)); case LibraryEnvironment.Linux: return(DataHandlerLibraryLinux.get_csp(data, labels, n_epochs, n_channels, n_times, output_filters, output_eigenvalues)); case LibraryEnvironment.MacOS: return(DataHandlerLibraryMac.get_csp(data, labels, n_epochs, n_channels, n_times, output_filters, output_eigenvalues)); } return((int)CustomExitCodes.GENERAL_ERROR); }