Back to godoc.org

Package mathx

v0.8.6
Latest Go to latest

The latest major version is .

Published: Jul 27, 2020 | License: MIT | Module: bitbucket.org/dtolpin/infergo

Overview

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

Index

func LogGamma

func LogGamma(x float64) float64

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

func LogSumExp

func LogSumExp(x, y float64) float64

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

func Sigm

func Sigm(x float64) float64

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

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier