math

package
v0.0.0-...-f83b936 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Max

func Max(population []float64) float64

Max returns the maximum value in the given population.

func Mean

func Mean(population []float64) float64

Mean calculates the mean value for the given population.

func Min

func Min(population []float64) float64

Min returns the minimum value in the given population.

func StdDev

func StdDev(population []float64) float64

StdDev calculates the standard deviation for the given population.

func TimeInMillis

func TimeInMillis(d time.Duration) float64

TimeInMillis returns the amount of milliseconds in d as a float64.

Types

This section is empty.

Jump to

Keyboard shortcuts

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