dvec v0.0.5 (2022-10-24T22:04:52Z)
Dub
Repo
Vec.this
dvec
vector
Vec
Constructs a vector as a copy of the other.
this
(T[size] elements)
this
(T[] elements)
this
(T value)
this
(MY_TYPE other)
struct
Vec
(T, size_t size)
@
nogc
this
(
MY_TYPE
other
)
if
(
isNumeric
!
T
&&
size
> 0
)
Parameters
other
MY_TYPE
The vector to copy.
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
Constructs a vector as a copy of the other.