logsumexp-softmax

Log-sum-exp and softmax functions

https://github.com/higham/logsumexp-softmax

You are now following this Submission

logsumexp and softmax evaluate the log-sum-exp function $lse(x) = \log \sum_{i=1}^n e^{x_i}$ and the softmax function $g(x)$ with $g_j(x) = \frac{e^{x_j}}{\sum_{i=1}^n e^{x_i}$, where x is a vector.

Cite As

Nick Higham (2026). logsumexp-softmax (https://github.com/higham/logsumexp-softmax/releases/tag/v1.0), GitHub. Retrieved .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.