Versions in this module Expand all Collapse all v1 v1.0.0 May 10, 2021 Changes in this version + const BitSize + func Parse(v string) (float64, error) + func Ptr(v float64) *float64 + func PtrDefToNil(v float64, def float64) *float64 + func PtrZeroToNil(v float64) *float64 + func Val(v *float64) float64 + func ValDef(v *float64, def float64) float64 + type Map map[float64]struct + func (m Map) Clone() Map + func (m Map) Filter(p PredicateFunc) Map + func (m Map) ForEach(r ReceiveFunc) + func (m Map) Map(t TransformFunc) Map + func (m Map) ToSlice() Slice + type PredicateFunc func(float64) bool + func And(ps ...PredicateFunc) PredicateFunc + func Eq(eq float64) PredicateFunc + func GT(gt float64) PredicateFunc + func GTE(gte float64) PredicateFunc + func LT(lt float64) PredicateFunc + func LTE(lte float64) PredicateFunc + func Not(p PredicateFunc) PredicateFunc + func Or(ps ...PredicateFunc) PredicateFunc + type ReceiveFunc func(float64) + type Slice []float64 + func (s Slice) Apply(t TransformFunc) + func (s Slice) Clone() Slice + func (s Slice) Filter(p PredicateFunc) Slice + func (s Slice) ForEach(r ReceiveFunc) + func (s Slice) IsSorted() bool + func (s Slice) Len() int + func (s Slice) Less(i, j int) bool + func (s Slice) Map(t TransformFunc) Slice + func (s Slice) SafeGet(i int) float64 + func (s Slice) SafeGetDef(i int, def float64) float64 + func (s Slice) SafeGetPtr(i int) *float64 + func (s Slice) Sort() + func (s Slice) Swap(i, j int) + func (s Slice) ToInterfaces() []interface{} + func (s Slice) ToMap() Map + type TransformFunc func(float64) float64