combinatorics

package
v0.0.0-...-78fa8ed Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HookLength

func HookLength(partition []int, primeMod int) int

func IntegerPartitions

func IntegerPartitions(n int) [][]int

Computes integer partitions, each partition is weakly increasing

func InversePermutation

func InversePermutation[T constraints.Integer](permutation []T) []T

func RobinsonSchenstedMapping

func RobinsonSchenstedMapping(permutation []int) (p, q [][]int)

Using code from: codeforces.com/blog/entry/98167

Types

This section is empty.

Jump to

Keyboard shortcuts

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