float64_t distance(index_t vec, float64_t *arr, int32_t dim)
float64_t add_dim_dist(float64_t d)
SGMatrix< float64_t > m_data
This class implements genaralized tree for N-body problems like k-NN, kernel density estimation...
float64_t actual_dists(float64_t dists)
SGVector< index_t > m_vec_id