#include #include #include "nr.h" using namespace std; // Driver for routine gaucof int main(void) { // Test with Gauss-Hermite const DP SQRTPI=1.772453850905516027; int i,n; DP amu0,check; for (;;) { cout << "Enter N (or 0 to stop): "; cin >> n; cout << endl; if (n < 1) break; Vec_DP a(n),b(n),x(n),w(n); for (i=0;i