#include <stdlib.h>
#include <math.h>

int comparedim;

double globaldiscr;

double fmax(double a,double b);

int cmpkeyk(double **pt1, double **pt2);

int intpoints(double **pointset, int dim, int npoints, double *base);

double poly_discr(double **pointset, int dim, int npoints);
