dot-lsum: Log of sum of terms

.lsumR Documentation

Log of sum of terms

Description

Computes the log of a sum of positive components, given on the log scale (lx), avoiding numerical overflow.

Usage

.lsum(lx, loff)

Arguments

lx

vector or matrix of log of terms to add

loff

log of offset

Value

a vector of log sums

Author(s)

Marius Hofert, Martin Maechler (package copula)


mig documentation built on April 11, 2025, 5:45 p.m.