interval

package
v0.0.0-...-ac0f134 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interval

type Interval struct {
	Min, Max int // [Min, Max)
}
var ZI Interval

ZI - Zero Interval

func (Interval) Empty

func (i Interval) Empty() bool

func (Interval) Equal

func (i Interval) Equal(j Interval) bool

func (Interval) Split

func (a Interval) Split(count int) []Interval

func (Interval) Width

func (i Interval) Width() int

Jump to

Keyboard shortcuts

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