static public DoubleRange GetFlipped(this DoubleRange item) { return(new DoubleRange(item.x2, item.x1)); }
static public DoubleVariance GetVariance(this DoubleRange item) { return(new DoubleVariance(item.GetCenter(), item.GetRadius())); }
static public double GetRadius(this DoubleRange item) { return((double)(item.GetWidth() / 2)); }
static public double GetWidth(this DoubleRange item) { return((double)(item.x2 - item.x1)); }
static public double GetCenter(this DoubleRange item) { return((double)((item.x1 + item.x2) / 2)); }