double *ellipsoid_grid ( int n, double r[3], double c[3], int ng ); int ellipsoid_grid_count ( int n, double r[3], double c[3] ); int i4_ceiling ( double x ); void r83vec_print_part ( int n, double a[], int max_print, string title ); void r8mat_write ( string output_filename, int m, int n, double table[] ); double r8vec_min ( int n, double r8vec[] ); void timestamp ( );