Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | utility | |
Module | fitting | |
Tool | functionfitter |
This function returns the chi squared of the fit.
- include 'functionfitter.g' - ff := functionfitter() - x := 1:10 - y := 2 + 3*x - ff.setdata (x, y) - ff.setfunction ('p1 + p2*x') - ff.getchsq() 0