Choose the types of sums to use in PreciceSums. These are used in the
PreciceSums sum
blocks and the psSum
function
psSetSum(type = c("pairwise", "fsum", "kahan", "neumaier", "c"))
Sum type to use for psSum
and sum()
in
PreciceSums 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