Go to the documentation of this file.
55 int main( int argc, char **arg)
101 fprintf(stderr, "Reading samples from : %s\n", GetFileFullName(&fsamples));
104 Error( "Could not open the file with the samples");
110 token=fscanf(fs, "%lf",&(s[0]));
111 if ((token==EOF)||(token==0))
117 if (fscanf(fs, "%lf",&(s)[i])==EOF)
118 Error( "Not enough values in the sample");
127 fprintf(stderr, " Error %u: %.16f\n",ns,e);
133 fprintf(stderr, "\n Maximum error %u: %.16f\n",ms,me);
146 fprintf(stderr, "Use:\n");
147 fprintf(stderr, " cuikerror <problem_name> [<sol_file>]\n");
148 fprintf(stderr, " <problem_name> the name from which to define the .world,\n");
149 fprintf(stderr, " <sol_name> [optional] file with the the solution points\n");
152 return(EXIT_SUCCESS);
|
Follow us!