#include #include "nr.h" using namespace std; void NR::pade(Vec_IO_DP &cof, DP &resid) { const DP BIG=1.0e30; int j,k; DP d,rr,rrold,sum; int n=(cof.size()-1)/2; Mat_DP q(n,n),qlu(n,n); Vec_INT indx(n); Vec_DP x(n),y(n),z(n); for (j=0;j