dotProduct

T
dotProduct
(
T
U
)
(
in T a
,
in U b
)
if (
is(T == Vector!(_),
_
) &&
is(U == Vector!(_),
_
)
&&
(T.dimension == U.dimension)
)

Return Value

Type: T

Scalar/Dot-Product of Two Vectors a and b.

Meta