Versions in this module Expand all Collapse all v1 v1.2.0 Aug 8, 2023 v1.1.0 Aug 8, 2023 Changes in this version + func Abs(v int) int + func Ceil(numerator, denominator int) int + func Max(x, y int) int + func Min(x, y int) int + func Sign(v float32) float32 + type IntSlice []int + func NewIntSlice(i int) *IntSlice + func (i *IntSlice) Add(v int) error + func (i *IntSlice) Copy() *IntSlice + func (i IntSlice) Get(index int) (int, error) + func (i IntSlice) Size() int + type IntsMap map[uint64][]int + func (i IntsMap) Add(key uint64, value int) + func (i IntsMap) Delete(key uint64) + func (i IntsMap) Get(key uint64) (int, bool) + func (i IntsMap) GetSlice(key uint64) ([]int, bool) + type NumSlice []float32 + func NewNumSlice(i int) *NumSlice + func (n *NumSlice) Add(v float32) + func (n *NumSlice) AddInt(v int) + func (n NumSlice) Get(i int) (float32, error) + func (n NumSlice) GetInt(i int) (int, error) + func (n NumSlice) GetIntSlice() []int + type Stack struct + Aux *Stack + Data []interface{} + func (s *Stack) Len() int + func (s *Stack) Peek() (v interface{}, ok bool) + func (s *Stack) Pop() (v interface{}, ok bool) + func (s *Stack) Push(v interface{})