#include #include "nr.h" using namespace std; DP x; void NR::quadmx(Mat_O_DP &a) { const DP PI=3.14159263589793238; int j,k; DP h,xx,cx; int n=a.nrows(); Vec_DP wt(n); h=PI/(n-1); for (j=0;j