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.error - Function Up: fitter - Tool Previous: fitter.stddev - Function


fitter.covariance - Function



Package utility
Module fitting
Tool fitter


get the covariance matrix


Synopsis
covariance(id)


Arguments

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


Returns
n x n matrix


Description
Obtain the covariance matrix 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.covariance()
0.166667





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