dualnumbers v1.0.2 (2019-11-17T08:36:33Z)
Dub
Repo
Dual.opBinary
dualnumbers
Dual
Undocumented in source. Be warned that the author may not have intended to support it.
Dual
!(
CommonType
!(
T
,
R
))
opBinary
(Dual!R rhs)
Dual
!(
CommonType
!(
T
,
R
))
opBinary
(Dual!R rhs)
Dual
!(
CommonType
!(
T
,
R
))
opBinary
(Dual!R rhs)
Dual
!(
CommonType
!(
T
,
R
))
opBinary
(R rhs)
struct
Dual
(T)
@
safe
pure nothrow @
nogc
const
Dual
!(
CommonType
!(
T
,
R
))
opBinary
(
string
op
R
)
(
const
R
rhs
)
if
(
(
op
== "+" ||
op
== "-"
)
&&
isNumeric
!
R
)
if
(
isFloatingPoint
!
T
)
Dual
!(
CommonType
!(
T
,
R
))
opBinary
(R rhs)
Dual
!
T
opBinary
(R rhs)
Meta
Source
See Implementation
dualnumbers
Dual
constructors
this
functions
opAssign
opBinary
opBinaryRight
opCmp
opEquals
opOpAssign
opUnary
toString
variables
du
re