I have an unmanaged 2d array (double A**) representing a matrix. Each of the n rows is a m-dimensional vector. And I have the function GetRelation(double* vector1, double* vector2) which returns the relation coefficient between two vectors.
So what I was asking about was how can I use LINQ to get the row indexes of the vectors having the largest relations with A[0] (the first vector).
Thanks in advance.
Something like this?