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.medianclip - Function Up: functionfitter - Tool Previous: functionfitter.getresidual - Function


functionfitter.getsolution - Function



Package utility
Module fitting
Tool functionfitter


Recover the solution vector


Synopsis
getsolution()


Returns
Numeric vector or fail



Description

This function returns the solution vector of the last fit.



Example
- include 'functionfitter.g'
- ff := functionfitter()
- x := 1:10
- y := 2 + 3*x
- ff.setdata (x, y)
- ff.setfunction ('p0 + p1*x')
- ff.fit(linear=T)
[2 3]





next up previous contents index
Next: functionfitter.medianclip - Function Up: functionfitter - Tool Previous: functionfitter.getresidual - 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