dvec v0.0.7 (2022-10-26T22:34:36Z)
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
(Vec!(T, size) other)
struct
Vec
(T, size_t size)
@
nogc
this
(
Vec
!(
T
,
size
)
other
)
if
(
isNumeric
!
T
&&
size
> 0
)
Parameters
other
Vec
!(
T
,
size
)
The vector to copy.
Meta
Source
See Implementation
dvec
vector
Vec
constructors
this
functions
add
copy
cross
div
dot
mag
mag2
mul
norm
opBinary
opBinaryRight
opCast
opCmp
opDispatch
opEquals
opIndex
opIndexAssign
opIndexOpAssign
opUnary
set
sub
toCartesian
toPolar
toString
static functions
empty
sum
static variables
SIZE
variables
data
Constructs a vector as a copy of the other.