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_inline530 . 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_inline532 ``double'' and ``vector'' tex2html_wrap_inline532 ``dvector'', and rename them with our standard p480 extension.





Tomas Arias
Mon Apr 2 13:24:52 EDT 2001