Vector.distanceTo

Calculates distance to vector b

struct Vector(T, size_t N)
static if(isFloatingPoint!T)
T
distanceTo
if (
isNumeric!T &&
N > 0
)

Parameters

b VecType

Vector

Return Value

Type: T

Distance

Meta