stats

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2020 License: GPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dirichlet

func Dirichlet(factor float64, alpha ...float64) []float64

Dirichlet returns a set of random numbers from dirichlet distribution See https://en.wikipedia.org/wiki/Dirichlet_distribution#Random_number_generation For further information Factor: multiplying factor to apply to all values : Normally it is 1

func Gamma

func Gamma(alpha, beta float64) float64

Gamma returns a random number of gamma distribution (alpha > 0.0 and beta > 0.0)

Types

This section is empty.

Jump to

Keyboard shortcuts

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