desmath ~master (2021-12-18T03:28:57.6940602)
Dub
Repo
Vector.e
des
math
linear
vector
Vector
normalized vector
only: if( isValidOp!("/",T,__ftype) )
struct
Vector
(size_t N, T)
pure const @
property
static if
(
is(typeof(T.init * T.init) == T) && is(typeof(T.init + T.init) == T)
)
static if
(
is(typeof(sqrt(__ftype(this.len2))))
)
static if
(
isValidOp!("/", T, __ftype)
)
auto
e
(
)
Meta
Source
See Implementation
des
math
linear
vector
Vector
aliases
datatype
selftype
constructors
this
functions
opAssign
opBinary
opBinaryRight
opCast
opOpAssign
opUnary
rebase
manifest constants
AccessString
length
mixins
__anonymous
postblits
this(this)
properties
e
len
len2
static functions
fill
templates
isCompatible
variables
data
dims
isDynamic
isStatic
normalized vector
only: if( isValidOp!("/",T,__ftype) )