예제 #1
0
 /// <summary>
 /// 多项式求值。
 /// </summary>
 /// <param name="x"></param>
 /// <returns></returns>
 public RmsedNumeral GetRmsedY(double x)
 {
     if (PolyVal == null)
     {
         PolyVal = new PolyVal(Parameters);
     }
     return(new RmsedNumeral(PolyVal.GetY(x), StdDev));
 }
예제 #2
0
 /// <summary>
 /// 多项式求值。
 /// </summary>
 /// <param name="x"></param>
 /// <returns></returns>
 public double GetY(double x)
 {
     if (PolyVal == null)
     {
         PolyVal = new PolyVal(Parameters);
     }
     return(PolyVal.GetY(x));
 }