示例#1
0
 public PolCurve()
 {
     coeffs = new PolCoeffs();
     xValues = new CombValues();
     yValues = new CombValues();
 }
示例#2
0
 //Function calculating the value resulting from the corresponding 2nd degree polynomial fit (the one defined by the input coefficients)
 public static double valueFromPol(PolCoeffs curCoeffs, double curX)
 {
     return curCoeffs.A + curCoeffs.B * curX + curCoeffs.C * curX * curX;
 }
示例#3
0
        public List<double> realVals; //Y (independent variable) values as read from the input file

        #endregion Fields

        #region Constructors

        public ValidCombination()
        {
            realVals = new List<double>();
            calcVals = new List<RowVal>();
            errors = new List<double>();
            coeffs = new PolCoeffs();
            dependentVars = new Combination();
            independentVar = new Variable();
            assessment = new Assessment();
        }