mathutils

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AverageFloat32 added in v0.0.7

func AverageFloat32(array []float32) float64

AverageFloat32 is delegated to calculate the average of an float32 array

func AverageFloat64 added in v0.0.7

func AverageFloat64(array []float64) float64

AverageFloat64 is delegated to calculate the average of an float64 array

func AverageInt added in v0.0.7

func AverageInt(array []int) float64

AverageInt is delegated to calculate the average of an int array

func ConvertSize added in v0.0.11

func ConvertSize(bytes float64, dimension string) float64

func MaxIntIndex

func MaxIntIndex(array []int) int

MaxIntIndex return the index that contains the max value for the given array

func SumIntArray

func SumIntArray(integers []int) int

SumIntArray return the of every element contained in the array

Types

This section is empty.

Jump to

Keyboard shortcuts

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