Vec.dot

Determines the dot product of this vector and another vector.

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

Parameters

other Vec!(T, size)

The other vector.

Return Value

Type: T

The dot product of the vectors.

Meta