public void NBestHeap(Array <float> mb, float[] bestd, int[] bestw) { var scores = NN.Dot(Vectors, mb); Sorting.Heapsort(scores.Values, bestd, bestw); }