MGSurvE.calcDistanceMatrix

MGSurvE.calcDistanceMatrix(pointCoords, distFun=<built-in function dist>)

Calculates the distance matrix between all the provided coordinates.

Parameters:
  • pointCoords (numpy array) – Coordinates of the sites.

  • distFun (function) – Distance function to be used in the computations.

Returns:

Distances matrix

Return type:

(numpy array)