Graphmath.Vec3.minkowski_distance
You're seeing just the function
minkowski_distance
, go back to Graphmath.Vec3 module for more information.
Link to this function
minkowski_distance(arg1, arg2, order)
Specs
minkowski_distance(a,b,order)
returns the Minkowski distance between two points a
and bof order
order.
orderneeds to be greater than or equal to 1 to define a [metric space](https://en.wikipedia.org/wiki/Metric_space).
order` 1 is equivalent to manhattan distance, 2 to Euclidean distance, otherwise all bets are off.