dvec v0.0.5 (2022-10-24T22:04:52Z)
Dub
Repo
Vec.mag
dvec
vector
Vec
Determines the magnitude of this vector.
struct
Vec
(T, size_t size)
const @
nogc
double
mag
(
)
if
(
isNumeric
!
T
&&
size
> 0
)
Return Value
Type:
double
The magnitude of this vector.
Meta
Source
See Implementation
dvec
vector
Vec
constructors
this
functions
add
copy
cross
div
dot
mag
mag2
mul
norm
opBinary
opCmp
opIndex
opIndexAssign
opOpAssign
sub
toCartesian
toPolar
toString
static functions
empty
sum
static variables
SIZE
variables
data
Determines the magnitude of this vector.