phobos-next v0.3.9 (2020-08-07T21:50:30Z)
Home
Dub
Repo
Vector.nrnNorm
nxt
geometry
Vector
struct
Vector
(E, uint D, bool normalizedFlag = false, Orient orient = Orient.column)
const
auto
nrnNorm
(
uint
N
)
(
)
if
(
isNumeric
!
E
&&
N
>= 1
)
if
(
D
>= 1 &&
(
!
normalizedFlag
||
isFloatingPoint
!
E
)
)
Return Value
Type:
auto
Non-Rooted
N
- Norm 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