distance

real
distance
(
T
U
)
(
in T a
,
in U b
)
if (
(
isInstanceOf!(Vector, T) &&
isInstanceOf!(Vector, U)
&&
T.dimension == U.dimension
)
||
(
isPoint!T &&
isPoint!U
)
)

Return Value

Type: real

(Euclidean) Distance between a and b.

Meta