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_inline487 . 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_inline489 ``double'' and ``vector'' tex2html_wrap_inline489 ``dvector'', and rename them with our standard p480 extension.





Tomas Arias
Mon Mar 25 16:15:06 EST 2002