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)
Click to show internal directories.
Click to hide internal directories.