예제 #1
0
        /// <summary>
        /// Use a specific provider if configured, e.g. using
        /// environment variables, or fall back to the best providers.
        /// </summary>
        public static void UseDefaultProviders()
        {
            if (AppSwitches.DisableNativeProviders)
            {
                UseManaged();
                return;
            }

            LinearAlgebraControl.UseDefault();
            FourierTransformControl.UseDefault();
            SparseSolverControl.UseDefault();
        }
예제 #2
0
 /// <summary>
 /// Use a specific provider if configured, e.g. using
 /// environment variables, or fall back to the best providers.
 /// </summary>
 public static void UseDefaultProviders()
 {
     LinearAlgebraControl.UseDefault();
     FourierTransformControl.UseDefault();
 }