infergo: bitbucket.org/dtolpin/infergo/mathx Index | Files

package mathx

import "bitbucket.org/dtolpin/infergo/mathx"

Package mathx provides auxiliary elemental functions, ubiquitously useful but not found in package math.

Index

Package Files

mathx.go

func LogGamma Uses

func LogGamma(x float64) float64

LogGamma is used in the log-density of the Gamma and Beta distributions.

func LogSumExp Uses

func LogSumExp(x, y float64) float64

LogSumExp computes log(exp(x) + exp(y)) robustly.

func Sigm Uses

func Sigm(x float64) float64

Sigmoid computes the sigmoid function 1/(1 + exp(-x)).

Package mathx imports 2 packages (graph) and is imported by 2 packages. Updated 2019-06-18. Refresh now. Tools for package owners.