bettercmath ~master (2021-10-22T22:55:25.7546802)
Dub
Repo
dot
bettercmath
vector
Returns the dot product between two Vectors.
@
safe
@
nogc
nothrow pure
T
dot
(
T
uint
N
)
(
const
auto
ref
Vector
!(
T
,
N
)
a
,
const
auto
ref
Vector
!(
T
,
N
)
b
)
Meta
Source
See Implementation
bettercmath
vector
enums
isVector
functions
cross
dot
magnitude
magnitudeSquared
normalize
normalized
reflect
vector
structs
Vector
Returns the dot product between two Vectors.