#include "nr.h" void NR::convlv(Vec_I_DP &data, Vec_I_DP &respns, const int isign, Vec_O_DP &ans) { int i,no2; DP mag2,tmp; int n=data.size(); int m=respns.size(); Vec_DP temp(n); temp[0]=respns[0]; for (i=1;i<(m+1)/2;i++) { temp[i]=respns[i]; temp[n-i]=respns[m-i]; } for (i=(m+1)/2;i>1; if (isign == 1) { for (i=2;i