Vector.dotProduct

Vectorのドット積を返します.

struct Vector(T, int Dimention)
const
T
dotProduct
(
in VectorType v
)
if (
__traits(isArithmetic, T) &&
Dimention > 0
)

Meta