|
Chapter Contents |
Previous |
Next |
| The NLIN Procedure |
The following model is solved using Newton's method. Analytical first- and second-order derivatives are automatically computed.
proc nlin data=Enzyme method=newton list;
parms x1=4 x2=2 ;
model Velocity = x1 * exp (x2 * Concentration);
run;
Note that all the derivatives require the evaluation of EXP(X2 * Concentration). If you specify the LISTCODE option in the PROC NLIN statement, the actual machine level code produced is as follows.
|
| ||||||||||||||||||||||||||||||||||||||||||||||
Note that, in the generated code, only one exponentiation is performed. The generated code reuses previous operations to be more efficient.
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.