distance

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

Return Value

Type: real

(Euclidean) Distance between a and b.

Meta