multicool (Q78928)

From MaRDI portal
Permutations of Multisets in Cool-Lex Order
Language Label Description Also known as
English
multicool
Permutations of Multisets in Cool-Lex Order

    Statements

    0.1-12
    29 June 2021
    0 references
    0.1-1
    15 November 2011
    0 references
    0.1-2
    10 July 2013
    0 references
    0.1-5
    26 February 2015
    0 references
    0.1-6
    28 April 2015
    0 references
    0.1-7
    17 August 2015
    0 references
    0.1-8
    22 October 2015
    0 references
    0.1-9
    28 October 2015
    0 references
    0.1-10
    25 November 2016
    0 references
    0.1-11
    5 December 2019
    0 references
    1.0.0
    2 December 2023
    0 references
    1.0.1
    5 February 2024
    0 references
    0 references
    0 references
    5 February 2024
    0 references
    A set of tools to permute multisets without loops or hash tables and to generate integer partitions. The permutation functions are based on C code from Aaron Williams. Cool-lex order is similar to colexicographical order. The algorithm is described in Williams, A. Loopless Generation of Multiset Permutations by Prefix Shifts. SODA 2009, Symposium on Discrete Algorithms, New York, United States. The permutation code is distributed without restrictions. The code for stable and efficient computation of multinomial coefficients comes from Dave Barber. The code can be download from <http://tamivox.org/dave/multinomial/index.html> and is distributed without conditions. The package also generates the integer partitions of a positive, non-zero integer n. The C++ code for this is based on Python code from Jerome Kelleher which can be found here <https://jeromekelleher.net/category/combinatorics.html>. The C++ code and Python code are distributed without conditions.
    0 references
    0 references
    0 references
    0 references

    Identifiers

    0 references