Files
CortexCore 13ffc9fd64 1
2024-06-03 10:11:43 +08:00

14 lines
269 B
C#

using System.Collections.Generic;
using System.Linq;
namespace BITKit
{
public static partial class Extensions
{
public static float GetDifference(this IEnumerable<float> self)
{
return self.Max() - self.Min();
}
}
}