mathed ~master (2022-05-27T19:57:24.9040539)
Dub
Repo
Matrix.opBinary
mathed
types
matrix
Matrix
Processes matrix addition and subtraction.
Self
opBinary
(Matrix!(Lines, Cols, SumType) summand)
struct
Matrix
(size_t Lines, size_t Cols, Type = float)
@
trusted
pure nothrow
Self
opBinary
(
string
op
SumType
)
(
in
Matrix
!(
Lines
,
Cols
,
SumType
)
summand
)
if
(
(
op
== "+" ||
op
== "-"
)
&&
is
(
SumType
:
Type
)
)
if
(
Lines
> 0 &&
Cols
> 0
)
Self
opBinary
(Number num)
auto
opBinary
(Factor factor)
Meta
Source
See Implementation
mathed
types
matrix
Matrix
aliases
cols
lines
type
constructors
this
functions
castTo
opApply
opBinary
opBinaryRight
opCast
opIndex
opOpAssign
opUnary
set
toString
properties
identity
t
static functions
diag
Processes matrix addition and subtraction.