Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: functionfitter.getfunctionstate - Function Up: functionfitter - Tool Previous: functionfitter.getdata - Function


functionfitter.getchisq - Function



Package utility
Module fitting
Tool functionfitter


Recover the chi squared of the fit


Synopsis
getchisq()


Returns
Glish record



Description

This function returns the chi squared of the fit.



Example
- include 'functionfitter.g'
- ff := functionfitter()
- x := 1:10
- y := 2 + 3*x
- ff.setdata (x, y)
- ff.setfunction ('p1 + p2*x')
- ff.getchsq()
0





next up previous contents index
Next: functionfitter.getfunctionstate - Function Up: functionfitter - Tool Previous: functionfitter.getdata - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15