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


jkrijthe/RSSL documentation built on Jan. 13, 2024, 1:56 a.m.