log_sum_exp: Logarithm of sum of exponentials

Description Usage Arguments Value

View source: R/utils.R

Description

Stable calculation of log(sum(exp(x))) of a numeric or integer object x

Usage

1

Arguments

x

numeric or integer object in either vector or matrix form

Value

the logarithm of the sum of exponentials in x


baruuum/btoolbox documentation built on Aug. 17, 2020, 1:29 a.m.