mtx_distance
mtx_distance calculates the Euclidean distance matrix between two sets of vectors supplied as matrices, with each row defining a vector of the same dimension. Its output element at row i, column j is the distance between vector i from the first matrix and vector j from the second; use the faster mtx_distance2 when squared distances without the square root are sufficient.
AI Generated
This content was generated with the assistance of AI. If you notice any errors, please report them or submit a fix using Submit. Check the prompt used here.
- Download via Deken.
Open
Pdand go toToolsFind Externals. Search foriemmatrixand install it. Then create an object withdeclare -lib iemmatrix -path iemmatrix. Finally, usemtx_distanceor any other object fromiemmatrix.