Graphmath.Vec2.p_norm
You're seeing just the function
p_norm
, go back to Graphmath.Vec2 module for more information.
Link to this function
p_norm(arg, order)
Specs
p_norm(v,order)
returns the P-norm of vector v
of order order
.
order
needs to be greater than or equal to 1 to define a metric space.
order
1 is equivalent to manhattan distance, 2 to Euclidean distance, otherwise all bets are off.