Ejemplo n.º 1
0
 public PolynomialLeastSquares(Behaviors.PointSelector.CompressedPointSelectorWrapper selector)
     : base(selector)
 {
     
     _coefs = MathNet.Numerics.Fit.Polynomial(selector.Select(x => (double)x.Value).ToArray(), selector.Select(x => (double)x.Rcs).ToArray(),
         selector.Count() - 1);
 }