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.chi2 - Function Up: fitter - Tool Previous: fitter.deficiency - Function


fitter.constraint - Function



Package utility
Module fitting
Tool fitter


get missing rank constraint equations


Synopsis
constraint(id)


Arguments

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


Returns
integer


Description
Obtain the set of orthogonal equations that make the solution of the rank deficient normal equations possible.



Example
- include 'fitting.g'		# use the default fitter
- fit.linear(dfs.functional('hyper',2),0*(1:10)+1,1:5)
				# equations are: x+y=1; x+y=2; ...
- fit.rank()			# there is rank deficiency
1 
- fit.deficiency()
1
- fit.constraint()		# constraint equation used
[-1 1]  
- fit.solution()		# the solution (as expected)
[1.5 1.5]





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