Lines Matching refs:val
80 dprintf("%5d ", ((int *)means[i].val)[j]);
179 ((int *)(means[i].val))[j] = rand() % grid_size;
236 min_dist = get_sq_dist(&points[i * dim], (int *)(means[0].val));
240 cur_dist = get_sq_dist(&points[i * dim], (int *)(means[j].val));
333 void *val;
340 while (iter_next (itr, &val))
342 add_to_sum (sum, val);
382 kmeans_data.means[i].val = &means[i * dim];
445 free(kmeans_data.means[mean_idx].val);
477 free(kmeans_data.means[i].val);