descore v1.0.4 (2014-11-02T14:23:15Z)
Dub
Repo
Vector.opUnary
des
math
linear
vector
Vector
Undocumented in source. Be warned that the author may not have intended to support it.
struct
Vector
(size_t N, T, alias string AS = "")
pure const
auto
opUnary
(
string
op
)
(
)
if
(
op
== "-" &&
is
(
typeof
(
T.init
*
(
-1
)
) :
T
)
)
if
(
isCompatibleArrayAccessString
(
N
,
AS
,
SEP
) ||
AS.length
== 0
)
Meta
Source
See Implementation
des
math
linear
vector
Vector
aliases
access_string
datatype
selftype
constructors
this
functions
opAssign
opBinary
opBinaryRight
opCast
opOpAssign
opUnary
quatMlt
rebase
rot
manifest constants
dims
isDynamic
isStatic
postblits
this(this)
properties
con
e
inv
len
len2
length
mag
norm
opDispatch
static functions
fromAngle
variables
data