package
0.0.0-20240201022239-0ae679bc1fb1
Repository: https://github.com/peakchen/go-zero.git
Documentation: pkg.go.dev

# Functions

CalcEntropy calculates the entropy of m.
MaxInt returns the larger one of a and b.
MinInt returns the smaller one of a and b.
NewProba returns a Proba.
NewUnstable returns an Unstable.

# Structs

A Proba is used to test if true on given probability.
An Unstable is used to generate random value around the mean value base on given deviation.