log_sum_exp: Log-sum-exponential trick.

View source: R/RcppExports.R

log_sum_expR Documentation

Log-sum-exponential trick.

Description

Log-sum-exponential trick.

Usage

log_sum_exp(x)

Arguments

x

A vector to log-sum-exp.

Value

The log of the sum of the exponential of the elements in x.

Author(s)

David Gerard


updog documentation built on May 29, 2024, 8:13 a.m.