Documentation ¶
Index ¶
- func CompareFloat(s1, s2 []float64, prec int, diff float64) bool
- func CompareReverseFloat(s1, s2 []float64, prec int, diff float64) bool
- func CountF(values []float64) map[float64]int
- func CountI(values []int) map[int]int
- func DeleteStrings(values []string, needle string) []string
- func FloatsToString(s []float64, prec int) string
- func InInts(needle int, values []int) bool
- func InIntsPos(needle int, values []int) int
- func InStrings(needle string, values []string) bool
- func InStringsPos(needle string, values []string) int
- func MapNames(values map[string]any) []string
- func MinMaxF(values []float64, zero bool) (float64, float64)
- func SortF(values []float64, order int)
- func SortFloat64(values []float64, order int)
- func SortUniqueMinMaxF(values []float64) (float64, float64)
- func SumF(slice []float64) (sum float64)
- func SumI(slice []int) (sum int)
- func TrimF(values []float64, keepOut float64, order int) []float64
- func TrimLastF(values []float64, keepOut float64, order int) []float64
- func WeightF(values []float64, prec int) map[float64]float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteStrings ¶ added in v0.5.4
func FloatsToString ¶ added in v0.5.3
func InStringsPos ¶ added in v0.1.7
func SortFloat64 ¶ added in v0.4.0
SortFloat64, order "1=asc","-1=desc"
func SortUniqueMinMaxF ¶
SortUniqueMinMax and delete values "0"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.