log_sum_exp: Log sum of exponentials

View source: R/mfa.R View source: R/RcppExports.R

log_sum_expR Documentation

Log sum of exponentials

Description

Log sum of exponentials

Usage

log_sum_exp(x)

Arguments

x

Vector of quantities

Value

Log sum of exponentials in a numerically stable manner.


kieranrcampbell/mfa documentation built on March 27, 2022, 5:20 a.m.