search for: data_2dx

Displaying 2 results from an estimated 2 matches for "data_2dx".

Did you mean: data_2
2004 Apr 14
2
again question about nmath/standalone
...<stdlib.h> #include <stdio.h> #include </usr/local/lib/R/include/Rmath.h> main() { double **x, **y, **x1, **y1, valin; int i,j,I,J; I=3; J=3; x=Allocate_Memory_2D( I, J, x1); y=Allocate_Memory_2D( I, J, y1); FILE *in_file; /* input x value from file data_2Dx.txt */ in_file=fopen("data_2Dx.txt","r"); if (in_file==NULL) {/*Test for error*/ fprintf(stderr,"Error:Unable to input file from 'data_2Dx.txt'\n"); exit(8); } for( i=0;i<I; i++) for (j=0;j<J;j++) { fscanf(in_file, "%lf\n", &...
2004 Apr 22
2
Urgent:again question about nmath/standalone
...<stdlib.h> #include <stdio.h> #include </usr/local/lib/R/include/Rmath.h> main() { double **x, **y, **x1, **y1, valin; int i,j,I,J; I=3; J=3; x=Allocate_Memory_2D( I, J, x1); y=Allocate_Memory_2D( I, J, y1); FILE *in_file; /* input x value from file data_2Dx.txt */ in_file=fopen("data_2Dx.txt","r"); if (in_file==NULL) {/*Test for error*/ fprintf(stderr,"Error:Unable to input file from 'data_2Dx.txt'\n"); exit(8); } for( i=0;i<I; i++)...