#include #include "nr.h" using namespace std; void NR::ks2d2s(Vec_I_DP &x1, Vec_I_DP &y1, Vec_I_DP &x2, Vec_I_DP &y2, DP &d, DP &prob) { int j; DP d1,d2,dum,dumm,fa,fb,fc,fd,ga,gb,gc,gd,r1,r2,rr,sqen; int n1=x1.size(); int n2=x2.size(); d1=0.0; for (j=0;j