|
fmcs
v0.2.1
|
| double logsumexp_streaming | ( | double & | _alpha, |
| double & | _r, | ||
| const double & | weight | ||
| ) |
streaming logsumexp computation, see https://arxiv.org/abs/1805.02867
| _alpha | running maximum for normalization |
| _r | the sum term while controlling for the maximum |
| weight | the most recent (log) weight |