Loading [MathJax]/extensions/tex2jax.js
1.7.4
Geostatistics & Machine Learning toolbox | https://gstlearn.org
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Ball.cpp File Reference
#include "Tree/Ball.hpp"
#include "Tree/ball_algorithm.h"
#include "Db/Db.hpp"
#include "Space/SpacePoint.hpp"
#include "Basic/VectorHelper.hpp"
#include "Basic/Law.hpp"
#include "Mesh/AMesh.hpp"

Functions

MatrixT< int > findNN (Db *dbin, Db *dbout, int nb_neigh, bool flagShuffle, bool verbose, double(*dist_function)(const double *x1, const double *x2, int n_features), int leaf_size, int default_distance_function)
 

Function Documentation

◆ findNN()

MatrixT< int > findNN ( Db dbin,
Db dbout,
int  nb_neigh,
bool  flagShuffle,
bool  verbose,
double(*)(const double *x1, const double *x2, int n_features)  dist_function,
int  leaf_size,
int  default_distance_function 
)