mathx

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2019 License: MIT Imports: 2 Imported by: 1

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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)).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL