logsumexp: Numerically more stable way to calculate log sum exp

View source: R/HelperFunctions.R

logsumexpR Documentation

Numerically more stable way to calculate log sum exp

Description

Numerically more stable way to calculate log sum exp

Usage

logsumexp(M)

Arguments

M

matrix; m by n input matrix, sum with be over the rows

Value

matrix; m by 1 matrix


RSSL documentation built on March 31, 2023, 7:27 p.m.