permutations

package
v2.0.0-rc.160 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OrderDS

func OrderDS[T any](dataSources []T, order []int) (out []T)

Types

type Permutation

type Permutation[T any] struct {
	Order       []int
	DataSources []T
}

func Generate

func Generate[T any](dataSources []T) []*Permutation[T]

Jump to

Keyboard shortcuts

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