Skip to content

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 Pd and go to ToolsFind Externals. Search for iemmatrix and install it. Then create an object with declare -lib iemmatrix -path iemmatrix. Finally, use mtx_distance or any other object from iemmatrix.


Similar


    Comments

    Contributors