//
pkg.gl
Category
github.com/sllt/tao
core
mathx
package
1.5.8
Repository:
https://github.com/sllt/tao.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
4
Dependents
5
Files
93 SLOC
#
Functions
CalcEntropy
CalcEntropy calculates the entropy of m.
MaxInt
MaxInt returns the larger one of a and b.
MinInt
MinInt returns the smaller one of a and b.
NewProba
NewProba returns a Proba.
NewUnstable
NewUnstable returns an Unstable.
#
Structs
Proba
A Proba is used to test if true on given probability.
Unstable
An Unstable is used to generate random value around the mean value base on given deviation.