dvec ~master (2022-04-05T10:11:46.3637701)
Dub
Repo
Vec.this
dvec
vector
Vec
Constructs a vector from an array of elements.
this
(T[size] elements)
struct
Vec
(T, size_t size)
this
(
T
[
size
]
elements
)
if
(
isNumeric
!
T
&&
size
> 0
)
this
(T[] elements)
this
(T value)
this
(Vec!(T, size) other)
Parameters
elements
T
[
size
]
The elements to put in the vector.
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 from an array of elements.