Choose the types of sums to use in RxODE. These are used in the
RxODE sum
blocks and the rxSum
function
rxSetSum(type = c("pairwise", "fsum", "kahan", "neumaier", "c"))
Sum type to use for rxSum
and sum()
in
RxODE code blocks.
pairwise
uses the pairwise sum (fast, default)
fsum
uses Python's fsum function (most accurate)
kahan
uses kahan correction
neumaier
uses Neumaier correction
c
uses no correction, bud default/native summing
nothing