dot

Calculates dot product.

CommonType!(T, S)
dot
(
T
S
uint U
)
(
const Vector!(T, U) v
,
const Vector!(S, U) v2
)

Parameters

v Vector!(T, U)

left hand value of dot product

v2 Vector!(S, U)

right hand value of dot product

Return Value

Type: CommonType!(T, S)

dot product of two vectors

Meta