The development started in spring 2001, and the package currently contains functions to deal with most usual combinatorial classes (partitions, tableaux, decomposable classes, ...). It also supplies the user with tools for constructing new combinatorial classes and combinatorial (Hopf) algebras. As an application, it provides some well-known combinatorial Hopf algebras like the algebra of symmetric functions and many generalizations. There is also some support for combinatorial Lie algebras, operads, (affine) Weyl groups, crystals, Schubert polynomials, ...
The core of the package is integrated in the official library of MuPAD since version 2.5.0.
Say that you want to provide a new function
combinat::partitions::toFrobenius which returns
the Frobenius notation of a partition. Then, you should send
us the following 3 files:
Here, we described the documentation for a "simple" function, designed to be directly included in the documentation of the library. For more involved ones a standalone help page is better. Please check the sources of the documentation in the lib/COMBINAT/DOC/ subdirectory of the distribution for examples.
It's good practice to start writing the documentation even before writing the code!
The examples in the documentation will be checked
automatically, so you don't have to include them in
the test file. The easiest way to write the output in
the Mexout environment is to run the
example in a terminal MuPAD session, and to copy paste
the result back in the documentation. Note that
spacing is relevant in the automatic checking; by
convention, you should type TEXTWIDTH :=
63 first to set the centering. You may want
to try the following little utility:
prog::makeExample(combinat::partitions::list(5))
read("toFrobenius.mu")
read("toFrobenius.tst"). Please,
don't forget to check the trivial cases! You
may find helpful to use the following little utility:
prog::makeExample(combinat::partitions::list(5)).