arrayMerge

package
v0.0.0-...-cee649a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbsInt64

func AbsInt64(x int64) int64

func ApplyBeforeChange

func ApplyBeforeChange(before []int64, change []int64) (after []int64, err error)

func ApplyBeforeSubtract

func ApplyBeforeSubtract(before []int64, subtract []int64) (after []int64, err error)

func ComputeChange

func ComputeChange(before []int64, after []int64) (change []int64, increased int, reduced int, err error)

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL