From 83a0c15ac0cc42113875ea48c27c01676499633f Mon Sep 17 00:00:00 2001 From: Christoph Ruegg Date: Fri, 28 Dec 2012 12:41:47 +0100 Subject: [PATCH] Statistics: DescriptiveStatistics.Median now obsolete Median always requires a at least a second pass, for exact evaluation of unsorted data even to keep all data in memory (depending on implementation). There is thus no advantage in including it in DescriptiveStatistics, dropping it will instead make it more useful and perform much better (both runtime and memory usage). --- src/Numerics/Statistics/DescriptiveStatistics.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Numerics/Statistics/DescriptiveStatistics.cs b/src/Numerics/Statistics/DescriptiveStatistics.cs index d534d388..b89784b4 100644 --- a/src/Numerics/Statistics/DescriptiveStatistics.cs +++ b/src/Numerics/Statistics/DescriptiveStatistics.cs @@ -157,6 +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.")] public double Median { get; private set; } ///