Пример #1
0
        /// <summary>
        /// Use the best provider available.
        /// </summary>
        public static void UseBestProviders()
        {
            if (AppSwitches.DisableNativeProviders || AppSwitches.DisableNativeProviderProbing)
            {
                UseManaged();
                return;
            }

            LinearAlgebraControl.UseBest();
            FourierTransformControl.UseBest();
            SparseSolverControl.UseBest();
        }
Пример #2
0
 /// <summary>
 /// Use the best provider available.
 /// </summary>
 public static void UseBestProviders()
 {
     LinearAlgebraControl.UseBest();
     FourierTransformControl.UseBest();
 }