combinatorics

package
v0.0.0-...-1ed8eff Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CartesianProduct

func CartesianProduct[T any](element []T, length int) [][]T

CartesianProduct returns the cartesian product of the element with itself length times The result is a slice of slices, where each slice is a possible combination of the elements

Types

This section is empty.

Jump to

Keyboard shortcuts

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