logsumexp2: Log sum exp trick. From Brendon Brewer's DNest code:

View source: R/util.R

logsumexp2R Documentation

Log sum exp trick. From Brendon Brewer's DNest code:

Description

Handy for calculating Z from a vector of log potentials. A less readable but shorter Log sum exp:

Usage

logsumexp2(logv)

Arguments

XX

The XX

Details

The function will XXXX

Value

The function will XX


npetraco/CRFutil documentation built on Nov. 23, 2023, 11:30 a.m.