Skip to content

MareoRaft/k_combinat_for_sage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e810c83 · Oct 29, 2024
Aug 16, 2018
Aug 8, 2020
Jun 22, 2018
Jul 22, 2018
Jul 17, 2018
Oct 29, 2024
Apr 27, 2020
Jul 2, 2018
Jun 28, 2018
Jun 29, 2018
Aug 4, 2018
May 3, 2018
Jun 18, 2018
Apr 27, 2020
May 26, 2018

Repository files navigation

k_combinat_for_sage

k-Schur and other "k-math-objects" for combinatorics. This code is meant to be used with SageMath, and parts of it have already been migrated into SageMath itself. The functions in the code come from research by Jennifer Morse and her colleagues. You will see in the documentation references to various research papers, which are the relevant topics.

image of k-rim of a 2,1,1 tableau

Quicklinks

Contents

This code computes combinatorial things such as

  • k-boundaries
  • k-rim
  • k-shape partitions
  • skew-linked diagrams
  • k-irreducible partitions
  • irreducible k-shapes
  • root ideals
  • raising root operators
  • catalan functions
  • dual symmetric functions
  • double symmetric functions

etc. For a full list of functions, read the documentation.

Install or upgrade

$ sage -pip install --upgrade k_combinat_for_sage

If you get an SSL error, you can download the latest version manually at PyPI and then install/upgrade with sage -pip install --upgrade /path/to/downloaded/file. If you want to fix the SSL issue permanently, look here.

Usage

Put your code in a file such as myscript.py. Import all the functions with:

from k_combinat_for_sage.all import *

and then use functions at will, such as:

p = Partition([4, 3, 3, 1])
if is_symmetric(p):
        print("it's symmetric, boogie woogie woogie!")

Finally, you can run your file with sage:

$ sage myscript.py
it's symmetric, boogie woogie woogie!