Summator.put

Adds x to the internal partial sums.

struct Summator(T, Summation summation = Summation.Precise)
void
put
(
T n
)
if (
isMutable!T &&
(
summation == Summation.Precise &&
isFloatingPoint!T
||
summation == Summation.Kahan &&
isSummable!T
||
(
summation == Summation.KBN ||
summation == Summation.KB2
)
&&
(
isFloatingPoint!T ||
isComplex!T
)
)
)

Meta