Object Reference : Object View and Procedure Reference : Equation
  
 
updatecoefs
Update coefficient object values from an equation object.
Copies coefficients from the equation object into the appropriate coefficient vector or vectors.
Syntax
equation_name.updatecoef
Follow the name of the equation object with a period and the keyword updatecoef.
Examples
equation eq1.ls y c x1 x2 x3
equation eq2.ls z c z1 z2 z3
eq1.updatecoef
places the coefficients from EQ1 in the default coefficient vector C.
coef(3) a
equation eq3.ls y=a(1)+z1^c(1)+log(z2+a(2))+exp(c(4)+z3/a(3))
equation eq2.ls z c z1 z2 z3
eq3.updatecoef
updates the coefficient vector A and the default vector C so that both contain the coefficients from EQ3.
Cross-references
See also Coef::coef.