#include "nr.h" void NR::wwghts(Vec_O_DP &wghts, const DP h, void kermom(Vec_O_DP &w, const DP y)) { int j,k; DP hh,hi,c,fac,a,b; int n=wghts.size(); hh=h; hi=1.0/hh; for (j=0;j= 4) { Vec_DP wold(4),wnew(4),w(4); kermom(wold,0.0); b=0.0; for (j=0;j