dvec ~master (2022-04-05T10:11:46.3637701)
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)
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
aliases
divide
dotProduct
len
length
magnitude
multiply
normalize
subtract
constructors
this
functions
add
div
dot
mag
mul
norm
opIndex
opIndexAssign
sub
toCartesian
toPolar
toString
static functions
empty
static variables
SIZE
variables
data
Constructs a vector as a copy of the other.