logspace_sub: Calculate log(exp(logx) - exp(logy)) in a somewhat...

Description Usage Arguments Value

View source: R/utils.R

Description

Calculate log(exp(logx) - exp(logy)) in a somewhat numerically stable way.

Usage

1
logspace_sub(logx, logy)

Arguments

logx,

logy log-scale numeric values to subtract

Value

log(exp(logx) - exp(logy)), but more numerically stable


reichlab/adaptively-weighted-ensemble documentation built on May 27, 2019, 4:53 a.m.