dotProduct

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

Return Value

Type: T

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

Meta