phobos-next v0.3.9 (2020-08-07T21:50:30Z)
Home
Dub
Repo
Vector.magnitude
nxt
geometry
Vector
struct
Vector
(E, uint D, bool normalizedFlag = false, Orient orient = Orient.column)
@
property
const
real
magnitude
()
(
)
if
(
isNumeric
!
E
)
if
(
D
>= 1 &&
(
!
normalizedFlag
||
isFloatingPoint
!
E
)
)
Return Value
Type:
real
Magnitude of x.
Meta
Source
See Implementation
nxt
geometry
Vector
constructors
this
functions
clear
magnitude
magnitudeSquared
normalize
normalized
nrnNorm
ok
opBinary
opBinaryRight
opIndex
opOpAssign
opSlice
toLaTeX
update
templates
coordToIndex
variables
_vector