mathed ~master (2022-05-27T19:57:24.9040539)
Dub
Repo
Vector.opBinary
mathed
types
vector
Vector
Processes vector addition and subtraction.
Self
opBinary
(Vector!(Size, SumType, SumAccessors, Orientation) summand)
struct
Vector
(size_t Size, Type = float, string Accessors = "", string Orientation = "horizontal")
@
trusted
pure nothrow
Self
opBinary
(
string
op
SumType
alias
string
SumAccessors
)
(
in
Vector
!(
Size
,
SumType
,
SumAccessors
,
Orientation
)
summand
)
if
(
(
op
== "+" ||
op
== "-"
)
&&
is
(
SumType
:
Type
)
)
if
(
Size
> 0
)
Self
opBinary
(Number num)
auto
opBinary
(Factor factor)
Meta
Source
See Implementation
mathed
types
vector
Vector
aliases
size
type
constructors
this
functions
castTo
opApply
opBinary
opBinaryRight
opCast
opIndex
opOpAssign
opUnary
set
toMatrix
toString
properties
t
Processes vector addition and subtraction.