63 int *nsupermax,
double **
center,
double **supernode_wgts,
double **distances,
double *counts);
void QuadTree_get_nearest(QuadTree qt, double *x, double *ymin, int *imin, double *min)
void QuadTree_get_repulsive_force(QuadTree qt, double *force, double *x, double bh, double p, double KP, double *counts)
QuadTree QuadTree_add(QuadTree q, double *coord, double weight, int id)
QuadTree QuadTree_new_in_quadrant(int dim, double *center, double width, int max_level, int i)
QuadTree QuadTree_new_from_point_list(int dim, int n, int max_level, double *coord)
void QuadTree_print(FILE *fp, QuadTree q)
QuadTree QuadTree_new(int dim, double *center, double width, int max_level)
struct QuadTree_struct * QuadTree
void QuadTree_delete(QuadTree q)
double point_distance(double *p1, double *p2, int dim)
void QuadTree_get_supernodes(QuadTree qt, double bh, double *pt, int nodeid, int *nsuper, int *nsupermax, double **center, double **supernode_wgts, double **distances, double *counts)
struct node_data_struct * node_data
static int imin(int a, int b)
minimum of two integers
static point center(point vertex[], size_t n)