Documentation
¶
Index ¶
- func AbsInt64(x int64) int64
- func ApplyBeforeChange(before []int64, change []int64) (after []int64, err error)
- func ApplyBeforeSubtract(before []int64, subtract []int64) (after []int64, err error)
- func ComputeChange(before []int64, after []int64) (change []int64, increased int, reduced int, err error)
- type AbsInt64Slice
- type Int64Slice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyBeforeChange ¶
func ApplyBeforeSubtract ¶
Types ¶
type AbsInt64Slice ¶
type AbsInt64Slice []int64
func (AbsInt64Slice) Len ¶
func (p AbsInt64Slice) Len() int
func (AbsInt64Slice) Less ¶
func (p AbsInt64Slice) Less(i, j int) bool
func (AbsInt64Slice) Swap ¶
func (p AbsInt64Slice) Swap(i, j int)
type Int64Slice ¶
type Int64Slice []int64
func (Int64Slice) Len ¶
func (p Int64Slice) Len() int
func (Int64Slice) Less ¶
func (p Int64Slice) Less(i, j int) bool
func (Int64Slice) Swap ¶
func (p Int64Slice) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.