internal

package
v0.0.0-...-7a5bd7c Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindPartialIntersection

func FindPartialIntersection(r1, r2 Range) (Range, []Range, bool)

func Permutations

func Permutations[T any](data []T) [][]T

Permutations https://en.wikipedia.org/wiki/Heap%27s_algorithm

func ReturnError

func ReturnError(err error) (string, string, error)

Types

type Range

type Range struct {
	Start int
	End   int
}

func FindIntersection

func FindIntersection(r1, r2 Range) (Range, bool)

Jump to

Keyboard shortcuts

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