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.

          Source Files