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.rank - Function Up: fitter - Tool Previous: fitter.fitspoly - Function


fitter.solution - Function



Package utility
Module fitting
Tool fitter


get solution


Synopsis
solution(id)


Arguments

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


Returns
array of n or n x m real or complex values


Description
Obtain the solution 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
- print fit.solution(), fit.error() #  show solution and error in average
3.5 0.763763





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