#include #include "nr.h" using namespace std; void NR::polcof(Vec_I_DP &xa, Vec_I_DP &ya, Vec_O_DP &cof) { int k,j,i; DP xmin,dy; int n=xa.size(); Vec_DP x(n),y(n); for (j=0;j