public NormalIntervalPolynomialCurveElement(DoubleExtension val, DataInterval interval)
 {
     this.degree = 1;
     this.coefficients = new List<DoubleExtension>();
     this.coefficients.Add(val);
     this.interval = interval;
     if (val.EqualsToZero)
         this.equalsToZero = true;
 }
 public NormalIntervalPolynomialCurveElement(List<DoubleExtension> coefficients, int degree, DataInterval interval)
 {
     if (degree >= 0)
     {
         this.degree = degree;
         this.coefficients = new List<DoubleExtension>();
         for (int i = 0; i < degree; i++ )
             this.coefficients.Add(coefficients[i]);
     }
     if (this.coefficients.Count == 1 && this.coefficients[0].EqualsToZero)
         equalsToZero = true;
     this.interval = interval;
 }
 public NormalIntervalPolynomialCurveElement(List<DoubleExtension> coefficients, DataInterval interval)
     : this(coefficients, coefficients.Count, interval)
 {
     
 }