bettercmath v0.2.0 (2020-12-28T03:15:07Z)
Dub
Repo
Vector.opCast
bettercmath
vector
Vector
Cast to a static array of same dimension, but different element type.
struct
Vector
(T, uint N)
pure const
U
opCast
(
U
:
T2
[
N
]
T2
)
(
)
if
(
N
> 0
)
Meta
Source
See Implementation
bettercmath
vector
Vector
aliases
ElementType
a
b
ba
g
gb
gba
p
pq
q
r
rg
rgb
s
st
stp
t
tp
tpq
u
uv
v
w
x
xy
xyz
y
yz
yzw
z
zeroes
zw
constructors
this
functions
opBinary
opBinaryRight
opCast
opOpAssign
opUnary
manifest constants
dimension
variables
elements
ones
zeros
Cast to a static array of same dimension, but different element type.