diff --git a/src/Numerics/Complex32.cs b/src/Numerics/Complex32.cs index bbeb7bad..7e58168a 100644 --- a/src/Numerics/Complex32.cs +++ b/src/Numerics/Complex32.cs @@ -103,13 +103,13 @@ namespace MathNet.Numerics return new Complex32(magnitude * (float)Math.Cos(phase), magnitude * (float)Math.Sin(phase)); } - [Obsolete("Use the public constructor instead.")] + [Obsolete("Use the public constructor instead. Scheduled for removal in v3.0.")] public static Complex32 WithRealImaginary(float real, float imaginary) { return new Complex32(real, imaginary); } - [Obsolete("Use static FromPolarCoordinates instead.")] + [Obsolete("Use static FromPolarCoordinates instead. Scheduled for removal in v3.0.")] public static Complex32 WithModulusArgument(float modulus, float argument) { if (modulus < 0.0f) @@ -144,7 +144,7 @@ namespace MathNet.Numerics /// public static readonly Complex32 PositiveInfinity = new Complex32(float.PositiveInfinity, float.PositiveInfinity); - [Obsolete("Use PositiveInfinity instead")] + [Obsolete("Use PositiveInfinity instead. Scheduled for removal in v3.0.")] public static readonly Complex32 Infinity = PositiveInfinity; /// @@ -668,13 +668,13 @@ namespace MathNet.Numerics return new Complex32(dividend._real / divisor, dividend._imag / divisor); } - [Obsolete("No Operation")] + [Obsolete("No Operation. Scheduled for removal in v3.0.")] public Complex32 Plus() { return this; } - [Obsolete("Use static Complex32.Negate or the unary - operator instead.")] + [Obsolete("Use static Complex32.Negate or the unary - operator instead. Scheduled for removal in v3.0.")] public Complex32 Negate() { return -this; @@ -701,25 +701,25 @@ namespace MathNet.Numerics return 1.0f / this; } - [Obsolete("Use static Complex32.Add or the + operator instead.")] + [Obsolete("Use static Complex32.Add or the + operator instead. Scheduled for removal in v3.0.")] public Complex32 Add(Complex32 other) { return this + other; } - [Obsolete("Use static Complex32.Subtract or the - operator instead.")] + [Obsolete("Use static Complex32.Subtract or the - operator instead. Scheduled for removal in v3.0.")] public Complex32 Subtract(Complex32 other) { return this - other; } - [Obsolete("Use static Complex32.Multiply or the * operator instead.")] + [Obsolete("Use static Complex32.Multiply or the * operator instead. Scheduled for removal in v3.0.")] public Complex32 Multiply(Complex32 multiplier) { return this * multiplier; } - [Obsolete("Use static Complex32.Divide or the / operator instead.")] + [Obsolete("Use static Complex32.Divide or the / operator instead. Scheduled for removal in v3.0.")] public Complex32 Divide(Complex32 divisor) { return this / divisor; diff --git a/src/Numerics/Complex64.cs b/src/Numerics/Complex64.cs index 9ef3a678..24468c13 100644 --- a/src/Numerics/Complex64.cs +++ b/src/Numerics/Complex64.cs @@ -102,13 +102,13 @@ namespace System.Numerics return new Complex(magnitude * Math.Cos(phase), magnitude * Math.Sin(phase)); } - [Obsolete("Use the public constructor instead.")] + [Obsolete("Use the public constructor instead. Scheduled for removal in v3.0.")] public static Complex WithRealImaginary(double real, double imaginary) { return new Complex(real, imaginary); } - [Obsolete("Use static FromPolarCoordinates instead.")] + [Obsolete("Use static FromPolarCoordinates instead. Scheduled for removal in v3.0.")] public static Complex WithModulusArgument(double modulus, double argument) { if (modulus < 0.0d) @@ -143,7 +143,7 @@ namespace System.Numerics /// public static readonly Complex PositiveInfinity = new Complex(float.PositiveInfinity, float.PositiveInfinity); - [Obsolete("Use PositiveInfinity instead")] + [Obsolete("Use PositiveInfinity instead. Scheduled for removal in v3.0.")] public static readonly Complex Infinity = PositiveInfinity; /// @@ -383,7 +383,7 @@ namespace System.Numerics return new Complex(dividend._real / divisor, dividend._imag / divisor); } - #region IFormattable Members +#region IFormattable Members /// /// A string representation of this complex number. @@ -452,9 +452,9 @@ namespace System.Numerics return ret.ToString(); } - #endregion +#endregion - #region IEquatable Members +#region IEquatable Members /// /// Checks if two complex numbers are equal. Two complex numbers are equal if their @@ -516,9 +516,9 @@ namespace System.Numerics return (obj is Complex) && Equals((Complex)obj); } - #endregion +#endregion - #region IPrecisionSupport +#region IPrecisionSupport /// /// Returns a Norm of a value of this type, which is appropriate for measuring how @@ -547,9 +547,9 @@ namespace System.Numerics return (this - otherValue).MagnitudeSquared(); } - #endregion +#endregion - #region Parse Functions +#region Parse Functions /// /// Creates a complex number based on a string. The string can be in the @@ -795,9 +795,9 @@ namespace System.Numerics return ret; } - #endregion +#endregion - #region Conversion +#region Conversion /// /// Explicit conversion of a real decimal to a Complex. @@ -932,7 +932,7 @@ namespace System.Numerics return new Complex(_real, _imag); } - #endregion +#endregion /// /// Returns the additive inverse of a specified complex number. diff --git a/src/Numerics/LinearAlgebra/Complex/DenseMatrix.cs b/src/Numerics/LinearAlgebra/Complex/DenseMatrix.cs index 40b70c76..2df3f8a7 100644 --- a/src/Numerics/LinearAlgebra/Complex/DenseMatrix.cs +++ b/src/Numerics/LinearAlgebra/Complex/DenseMatrix.cs @@ -173,7 +173,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex /// Gets the matrix's data. /// /// The matrix's data. - [Obsolete("Use Values instead. Will be removed in future versions.")] + [Obsolete("Use Values instead. Scheduled for removal in v3.0.")] public Complex[] Data { get { return _values; } diff --git a/src/Numerics/LinearAlgebra/Complex/SparseMatrix.cs b/src/Numerics/LinearAlgebra/Complex/SparseMatrix.cs index 5274499b..d08298d0 100644 --- a/src/Numerics/LinearAlgebra/Complex/SparseMatrix.cs +++ b/src/Numerics/LinearAlgebra/Complex/SparseMatrix.cs @@ -101,7 +101,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex /// The number of columns. /// /// The value which we assign to each element of the matrix. - [Obsolete("Use a dense matrix instead.")] + [Obsolete("Use a dense matrix instead. Scheduled for removal in v3.0.")] public SparseMatrix(int rows, int columns, Complex value) : this(rows, columns) { diff --git a/src/Numerics/LinearAlgebra/Complex/SparseVector.cs b/src/Numerics/LinearAlgebra/Complex/SparseVector.cs index 5bfee809..392833ac 100644 --- a/src/Numerics/LinearAlgebra/Complex/SparseVector.cs +++ b/src/Numerics/LinearAlgebra/Complex/SparseVector.cs @@ -96,7 +96,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex /// /// If is less than one. /// - [Obsolete("Use a dense vector instead.")] + [Obsolete("Use a dense vector instead. Scheduled for removal in v3.0.")] public SparseVector(int size, Complex value) : this(new SparseVectorStorage(size)) { diff --git a/src/Numerics/LinearAlgebra/Complex32/DenseMatrix.cs b/src/Numerics/LinearAlgebra/Complex32/DenseMatrix.cs index 9c01d728..0d3689fd 100644 --- a/src/Numerics/LinearAlgebra/Complex32/DenseMatrix.cs +++ b/src/Numerics/LinearAlgebra/Complex32/DenseMatrix.cs @@ -173,7 +173,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex32 /// Gets the matrix's data. /// /// The matrix's data. - [Obsolete("Use Values instead. Will be removed in future versions.")] + [Obsolete("Use Values instead. Scheduled for removal in v3.0.")] public Complex32[] Data { get { return _values; } diff --git a/src/Numerics/LinearAlgebra/Complex32/SparseMatrix.cs b/src/Numerics/LinearAlgebra/Complex32/SparseMatrix.cs index 86ef04b7..11ee1e7d 100644 --- a/src/Numerics/LinearAlgebra/Complex32/SparseMatrix.cs +++ b/src/Numerics/LinearAlgebra/Complex32/SparseMatrix.cs @@ -101,7 +101,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex32 /// The number of columns. /// /// The value which we assign to each element of the matrix. - [Obsolete("Use a dense matrix instead.")] + [Obsolete("Use a dense matrix instead. Scheduled for removal in v3.0.")] public SparseMatrix(int rows, int columns, Complex32 value) : this(rows, columns) { diff --git a/src/Numerics/LinearAlgebra/Complex32/SparseVector.cs b/src/Numerics/LinearAlgebra/Complex32/SparseVector.cs index 5fe21bd4..61ed8d8d 100644 --- a/src/Numerics/LinearAlgebra/Complex32/SparseVector.cs +++ b/src/Numerics/LinearAlgebra/Complex32/SparseVector.cs @@ -96,7 +96,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex32 /// /// If is less than one. /// - [Obsolete("Use a dense vector instead.")] + [Obsolete("Use a dense vector instead. Scheduled for removal in v3.0.")] public SparseVector(int size, Complex32 value) : this(new SparseVectorStorage(size)) { diff --git a/src/Numerics/LinearAlgebra/Double/DenseMatrix.cs b/src/Numerics/LinearAlgebra/Double/DenseMatrix.cs index 34957a52..6d9f9be0 100644 --- a/src/Numerics/LinearAlgebra/Double/DenseMatrix.cs +++ b/src/Numerics/LinearAlgebra/Double/DenseMatrix.cs @@ -173,7 +173,7 @@ namespace MathNet.Numerics.LinearAlgebra.Double /// Gets the matrix's data. /// /// The matrix's data. - [Obsolete("Use Values instead. Will be removed in future versions.")] + [Obsolete("Use Values instead. Scheduled for removal in v3.0.")] public double[] Data { get { return _values; } diff --git a/src/Numerics/LinearAlgebra/Double/SparseMatrix.cs b/src/Numerics/LinearAlgebra/Double/SparseMatrix.cs index adf012bf..2814dd89 100644 --- a/src/Numerics/LinearAlgebra/Double/SparseMatrix.cs +++ b/src/Numerics/LinearAlgebra/Double/SparseMatrix.cs @@ -100,7 +100,7 @@ namespace MathNet.Numerics.LinearAlgebra.Double /// The number of columns. /// /// The value which we assign to each element of the matrix. - [Obsolete("Use a dense matrix instead.")] + [Obsolete("Use a dense matrix instead. Scheduled for removal in v3.0.")] public SparseMatrix(int rows, int columns, double value) : this(rows, columns) { diff --git a/src/Numerics/LinearAlgebra/Double/SparseVector.cs b/src/Numerics/LinearAlgebra/Double/SparseVector.cs index 3f6f6e59..efbd74ce 100644 --- a/src/Numerics/LinearAlgebra/Double/SparseVector.cs +++ b/src/Numerics/LinearAlgebra/Double/SparseVector.cs @@ -96,7 +96,7 @@ namespace MathNet.Numerics.LinearAlgebra.Double /// /// If is less than one. /// - [Obsolete("Use a dense vector instead.")] + [Obsolete("Use a dense vector instead. Scheduled for removal in v3.0.")] public SparseVector(int size, double value) : this(new SparseVectorStorage(size)) { diff --git a/src/Numerics/LinearAlgebra/Generic/Vector.cs b/src/Numerics/LinearAlgebra/Generic/Vector.cs index 9a19ef91..b1059688 100644 --- a/src/Numerics/LinearAlgebra/Generic/Vector.cs +++ b/src/Numerics/LinearAlgebra/Generic/Vector.cs @@ -202,7 +202,7 @@ namespace MathNet.Numerics.LinearAlgebra.Generic Storage.CopySubVectorTo(destination.Storage, sourceIndex, targetIndex, count); } - [Obsolete("Use CopySubVectorTo instead.")] + [Obsolete("Use CopySubVectorTo instead. Scheduled for removal in v3.0.")] public void CopyTo(Vector destination, int sourceIndex, int targetIndex, int count) { CopySubVectorTo(destination, sourceIndex, targetIndex, count); diff --git a/src/Numerics/LinearAlgebra/Single/DenseMatrix.cs b/src/Numerics/LinearAlgebra/Single/DenseMatrix.cs index a9d9ff28..aad6e831 100644 --- a/src/Numerics/LinearAlgebra/Single/DenseMatrix.cs +++ b/src/Numerics/LinearAlgebra/Single/DenseMatrix.cs @@ -173,7 +173,7 @@ namespace MathNet.Numerics.LinearAlgebra.Single /// Gets the matrix's data. /// /// The matrix's data. - [Obsolete("Use Values instead. Will be removed in future versions.")] + [Obsolete("Use Values instead. Scheduled for removal in v3.0.")] public float[] Data { get { return _values; } diff --git a/src/Numerics/LinearAlgebra/Single/SparseMatrix.cs b/src/Numerics/LinearAlgebra/Single/SparseMatrix.cs index d3336a6e..ff9788aa 100644 --- a/src/Numerics/LinearAlgebra/Single/SparseMatrix.cs +++ b/src/Numerics/LinearAlgebra/Single/SparseMatrix.cs @@ -100,7 +100,7 @@ namespace MathNet.Numerics.LinearAlgebra.Single /// The number of columns. /// /// The value which we assign to each element of the matrix. - [Obsolete("Use a dense matrix instead.")] + [Obsolete("Use a dense matrix instead. Scheduled for removal in v3.0.")] public SparseMatrix(int rows, int columns, float value) : this(rows, columns) { diff --git a/src/Numerics/LinearAlgebra/Single/SparseVector.cs b/src/Numerics/LinearAlgebra/Single/SparseVector.cs index c4e15055..e16796ec 100644 --- a/src/Numerics/LinearAlgebra/Single/SparseVector.cs +++ b/src/Numerics/LinearAlgebra/Single/SparseVector.cs @@ -96,7 +96,7 @@ namespace MathNet.Numerics.LinearAlgebra.Single /// /// If is less than one. /// - [Obsolete("Use a dense vector instead.")] + [Obsolete("Use a dense vector instead. Scheduled for removal in v3.0.")] public SparseVector(int size, float value) : this(new SparseVectorStorage(size)) { diff --git a/src/Numerics/Statistics/DescriptiveStatistics.cs b/src/Numerics/Statistics/DescriptiveStatistics.cs index b5c1654c..6bf2eb03 100644 --- a/src/Numerics/Statistics/DescriptiveStatistics.cs +++ b/src/Numerics/Statistics/DescriptiveStatistics.cs @@ -157,7 +157,7 @@ namespace MathNet.Numerics.Statistics /// Gets the sample median. /// /// The sample median. - [Obsolete("Dropped in future versions for performance reasons. Please use Statistics.Median instead.")] + [Obsolete("Please use Statistics.Median instead (performance). Scheduled for removal in v3.0.")] public double Median { get { return _medianLazy.Value; }