Browse Source

Control: internalized ParallelizeElements/Order

provider
Christoph Ruegg 13 years ago
parent
commit
922fa9ba8b
  1. 9
      src/Numerics/Control.cs

9
src/Numerics/Control.cs

@ -4,7 +4,7 @@
// http://github.com/mathnet/mathnet-numerics // http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com // http://mathnetnumerics.codeplex.com
// //
// Copyright (c) 2009-2013 Math.NET // Copyright (c) 2009-2014 Math.NET
// //
// Permission is hereby granted, free of charge, to any person // Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation // obtaining a copy of this software and associated documentation
@ -114,6 +114,7 @@ namespace MathNet.Numerics
/// For the multivariate distributions this could involve an expensive matrix factorization. /// For the multivariate distributions this could involve an expensive matrix factorization.
/// The default setting of this property is <c>true</c>. /// The default setting of this property is <c>true</c>.
/// </summary> /// </summary>
[Obsolete]
public static bool CheckDistributionParameters { get; set; } public static bool CheckDistributionParameters { get; set; }
/// <summary> /// <summary>
@ -173,7 +174,8 @@ namespace MathNet.Numerics
/// must calculate multiply in parallel threads. /// must calculate multiply in parallel threads.
/// </summary> /// </summary>
/// <value>The order. Default 64, must be at least 3.</value> /// <value>The order. Default 64, must be at least 3.</value>
public static int ParallelizeOrder [Obsolete]
internal static int ParallelizeOrder
{ {
get { return _parallelizeOrder; } get { return _parallelizeOrder; }
set { _parallelizeOrder = Math.Max(3, value); } set { _parallelizeOrder = Math.Max(3, value); }
@ -184,7 +186,8 @@ namespace MathNet.Numerics
/// must contain before we multiply threads. /// must contain before we multiply threads.
/// </summary> /// </summary>
/// <value>Number of elements. Default 300, must be at least 3.</value> /// <value>Number of elements. Default 300, must be at least 3.</value>
public static int ParallelizeElements [Obsolete]
internal static int ParallelizeElements
{ {
get { return _parallelizeElements; } get { return _parallelizeElements; }
set { _parallelizeElements = Math.Max(3, value); } set { _parallelizeElements = Math.Max(3, value); }

Loading…
Cancel
Save