package
0.0.0-20211120210754-b3872f7000fe
Repository: https://github.com/spatialcurrent/go-math.git
Documentation: pkg.go.dev
# Functions
Add adds 2 values together while following a few simple rules to convert integers and floats.
Compare compares 2 values and follows a few simple rules to compare integers and floats.
Divide divides a by b while following a few simple rules to maximize precision.
Max returns the maximum value from the array or slice of durations, floats, ints, and times.
Mean returns the mean value from the array or slice of ints, floats, or durations.
Min returns the minimum value from the array or slice of durations, floats, ints, and times.
Multiply multiplies 2 values together while following a few simple rules to convert integers and floats.
Pow raises a to the power of b (a^b).
Product returns the total product (multiplied value) from the array or slice of ints, floats, or durations.
Subtract subtracts the second value from the first value while following a few simple rules to convert integers and floats.
Sum returns the total value from the array or slice of ints, floats, or durations.
# Variables
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author