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


next up previous contents index
Next: lsfit.solve - Function Up: lsfit - Tool Previous: lsfit.init - Function


lsfit.accumulate - Function



Package utility
Module mathematics
Tool lsfit


accumulate an equation


Synopsis
accumulate(aa, y, wgt, constreq, show)


Arguments

aa   coefficient vector (Input)
y   driving value (Input)
wgt   weight (Input)
    Default: 1.0
constreq   is constraint equation (Input)
    Allowed: bool
    Default: F
show   print one-line progress message (Input)
    Allowed: bool
    Default: F


Returns
Bool


Description
Accumulates the information from an equation yi  =  $ \sum_{j}^{}$ aij xj into the internal matrix and vector (see example above). The weight can be used to reduce the influence of less reliable data on the solution. A constraint equation is one that is not driven by data, but provides a-priori information, e.g. to make the system soluble. This information allows the system to behave more intelligently in some cases.



next up previous contents index
Next: lsfit.solve - Function Up: lsfit - Tool Previous: lsfit.init - 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