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


next up previous contents index
Next: fitter.sd - Function Up: fitter - Tool Previous: fitter.constraint - Function


fitter.chi2 - Function



Package utility
Module fitting
Tool fitter


get the chi squared


Synopsis
chi2(id)


Arguments

id in the id of a sub-tool
    Allowed: fitter id
    Default: 0


Returns
vector of m values


Description
Obtain the chi squared of a fit



Example
- include 'fitting.g'
- fit := fitter(n=1);		# a fitter for one real unknown
- fit.linear(dfs.functional('hyper',1),1+0*1:6, 1:6)
			# equations are x=1; x=2; ... x=6 
T
- fit.chi2()			# chi squared
17.5





next up previous contents index
Next: fitter.sd - Function Up: fitter - Tool Previous: fitter.constraint - 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