mathutil

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: May 26, 2016 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package mathutil provides math util functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Average

func Average(vals []float64) float64

Average returns the mean value of float64 values. Returns zero if the vals length is 0.

func StdDev

func StdDev(vals []float64, avg float64) float64

StdDev returns the standard deviation of float64 values, with an input average. Returns zero if the vals length is 0.

Types

This section is empty.

Jump to

Keyboard shortcuts

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