Log of sum of terms
Computes the log of a sum of positive components, given on the log scale (lx
), avoiding numerical overflow.
.lsum(lx, loff)
lx
: vector or matrix of log of terms to addloff
: log of offseta vector of log sums
Marius Hofert, Martin Maechler (package copula
)
Useful links