public double MinValueAbs() { double min = Math.Abs(Arr.Cast <double>().Where(x => x < 0.0).Max()); double max = Math.Abs(Arr.Cast <double>().Where(x => x >= 0.0).Min()); if (min > max) { return(max); } else { return(min); } }
public double MaxValueAbs() { double min = Math.Abs(Arr.Cast <double>().Min()); double max = Math.Abs(Arr.Cast <double>().Max()); if (min > max) { return(min); } else { return(max); } }
public double MinValue() { return(Arr.Cast <double>().Min()); }
public double MaxValue() { return(Arr.Cast <double>().Max()); }