combination

package
v0.0.0-...-a5d7372 Latest Latest
Warning

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

Go to latest
Published: May 17, 2021 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 Combinator

type Combinator struct {
	// contains filtered or unexported fields
}

C(n, k) (n >= k)

func New

func New(n, k int) *Combinator

func (*Combinator) Indexes

func (c *Combinator) Indexes() []int

func (*Combinator) Next

func (c *Combinator) Next() bool

func (*Combinator) RangeIndexes

func (c *Combinator) RangeIndexes(f func(subsetIndex, setIndex int) bool)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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