Documentation
¶
Index ¶
- func Abs[T ~float64 | ~int64 | ~int](value T) T
- func Avg[T ~float64 | ~int64 | ~uint64 | ~int](values []T) *T
- func Changes[T ~float64 | ~int64 | ~int](values []T) []T
- func Diff[T ~float64 | ~int64 | ~uint64 | ~int](a T, b T) *float64
- func Ema[T ~float64 | ~int64 | ~uint64 | ~int](values []T) *T
- func Float64AlmostEqual(a, b float64) bool
- func Max[T ~float64 | ~int64 | ~uint64 | ~int](values []T) *T
- func Min[T ~float64 | ~int64 | ~uint64 | ~int](values []T) *T
- func Negative[T ~float64 | ~int64 | ~uint64 | ~int](values []T) []T
- func Positive[T ~float64 | ~int64 | ~uint64 | ~int](values []T) []T
- func Round[T ~float64](value T) T
- func Sqrt[T ~float64](x T) T
- func Sum[T ~float64 | ~int64 | ~uint64 | ~int](values []T) T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Float64AlmostEqual ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.