Vec.dot

Determines the dot product of this vector and another vector.

struct Vec(T, size_t size)
const @nogc
T
dot
(
MY_TYPE other
)
if (
isNumeric!T &&
size > 0
)

Parameters

other MY_TYPE

The other vector.

Return Value

Type: T

The dot product of the vectors.

Meta