/* Driver for routine gaucof */ #include #define NRANSI #include "nr.h" #include "nrutil.h" #define NP 64 #define SQRTPI 1.7724539 int main(void) { /* Test with Gauss-Hermite */ int i,n; float amu0,check,*a,*b,*x,*w; a=vector(1,NP); b=vector(1,NP); x=vector(1,NP); w=vector(1,NP); for (;;) { printf("Enter N:\n"); if (scanf("%d",&n) == EOF) break; for (i=1;i