examples/fit/expfit.rb in rb-gsl-1.16.0.4 vs examples/fit/expfit.rb in rb-gsl-1.16.0.5
- old
+ new
@@ -20,10 +20,10 @@
p coef
p err
GSL::graph(x, y, y0+amp*GSL::Sf::exp(-b*x))
# This will result in
-# [ 1.019e+00 5.045e+00 1.040e-01 ]
+# [ 1.019e+00 5.045e+00 1.040e-01 ]
# [ 3.385e-02 5.395e-02 2.826e-03 ]
# GNUPLOT results:
# y0 = 1.01925 +/- 0.03383 (3.319%)
# A = 5.04536 +/- 0.05396 (1.069%)