AnnWrapperNET.AnnWrapper.AnnkPriSearch C# (CSharp) Метод

AnnkPriSearch() публичный статический Метод

public static AnnkPriSearch ( double point, int nearNeighbourCount, int &indexes, double &distances, double eps = 0.0 ) : void
point double
nearNeighbourCount int
indexes int
distances double
eps double
Результат void
        public static void AnnkPriSearch(double[] point, int nearNeighbourCount, out int[] indexes, out double[] distances, double eps = 0.0)
        {
            indexes = new int[nearNeighbourCount];
            distances = new double[nearNeighbourCount];
            fixed (double* p = point)
                fixed (int* ind = indexes)
                    fixed (double* d = distances)
                        AnnkPriSearch(p, nearNeighbourCount, ind, d, eps);
        }