Registry / utility / montanaflynn-stats

montanaflynn-stats

JSON →
library0.9.0gogounverified

A well-tested and comprehensive statistics library package with no dependencies.

go get github.com/montanaflynn/stats
INSTALL
IMPORT
SIG · MONTANAFLYNN-STATS
M
montanaflynn-stats
utilitygov0.9.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

stats
github.com/montanaflynn/stats

Computes the mean of a slice of floats.

package main import ( "fmt" "github.com/montanaflynn/stats" ) func main() { data := []float64{1, 2, 3, 4, 5} mean, _ := stats.Mean(data) fmt.Println(mean) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.9.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
montanaflynn-stats — go get montanaflynn-stats · libregistry