next up previous contents
Next: Debugging Up: Packaging Previous: Debugging

``ludcmpp480'' and ``lubksbp480''

void ludcmpp480(double **a, int n, int *indx, double *d);

void lubksbp480(double **a, int n, int *indx, double b[]);
Output: Input:

As discussed in lecture, our new algorithm for solving large systems of non-linear equations requires us to solve small systems of linear equations of the form tex2html_wrap_inline411 . Numerical Recipes provides two routines, ``ludcmp'' and ``lubksb'', which together solve such equations. Generalize them to double precision by making the replacements ``float'' tex2html_wrap_inline413 ``double'' and ``vector'' tex2html_wrap_inline413 ``dvector'', and rename them with our standard p480 extension.





Tomas Arias
Fri Mar 17 13:11:50 EST 2000