internal

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IntervalContains

type IntervalContains[Real constraints.Real] interface {
	Contains(Real) bool
}

type Iterator

type Iterator[Real constraints.Real] struct {
	// contains filtered or unexported fields
}

func NewIterator

func NewIterator[Real constraints.Real](interval IntervalContains[Real], step Real, current Real) *Iterator[Real]

func (*Iterator[Real]) Collect

func (i *Iterator[Real]) Collect() []Real

func (*Iterator[Real]) HasNext

func (i *Iterator[Real]) HasNext() bool

func (*Iterator[Real]) Next

func (i *Iterator[Real]) Next() Real

Jump to

Keyboard shortcuts

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