zmath ~master (2021-07-15T08:21:03Z)
Home
Dub
Repo
Vector.opUnary
zmath
vector
Vector
Define unary operators + and -
struct
Vector
(T, size_t dim_)
nothrow @
nogc
pure const
Vector
opUnary
(
string
op
)
(
)
if
(
op
== "+" ||
op
== "-"
)
if
(
__traits(
isFloating
,
T
)
)
Meta
Source
See Implementation
zmath
vector
Vector
constructors
this
functions
approxEqual
distance
normalize
opBinary
opBinaryRight
opCast
opEquals
opIndex
opIndexAssign
opUnary
rotate
sq_distance
toString
properties
isFinite
isOk
isUnit
length
ptr
sq_length
unit
static functions
projectOnTo
static variables
W_AXIS
X_AXIS
Y_AXIS
ZERO
Z_AXIS
dim
unions
__anonymous
Define unary operators + and -