Symmetric polynomials |
Example: The product of two Schur polynomials (see the file ex10.c):Here the situation is a bit more complicated as far as the input is concerned. The reason is, that there are many ways to input an object of type SCHUR. Therefore you will be asked in which form you want to give the two objects the product of which you would like to see. Let us consider the simplest case, where the two objects are Schur polynomials.... scan(SCHUR,a);println(a); scan(SCHUR,b);println(b); mult(a,b,c);println(c); ...
After typing the command make and having received the prompt, you give the order a.out, you will see on your screen the following three lines of text:
Input of a partition type monom
input of partition as increasing vector
length of vector
first. Secondly you have to note that the present program system prefers the French notation, and so you answer the next question for an integerobject by 2, and the next question for another integerobject you answer by 3, say. The next question asks you for the coefficient of this polynomial in the object of type SCHUR which you chose as first factor. The question will be put in form of a table the left hand part of which looks as follows:
2
integer[1] | vector[2] | partition[3] | … |
skewpart[7] | tableaux[8] | polynom[9] | … |
schubert[14] | kostka[16] | symchar[18] | … |
longint[22] | cyclcotomic[124] | radical[125] | … |
one more monom y/n
Then you will be asked in the same way for the second factor. If you want to input as second factor the Schur polynomial corresponding to the partition (14) (in which case the French and the English notation coincide), you first answer integerobject by 4, and then the four next questions have to be answered by 1. Having entered this, you have to provide the coefficient, if it is an integer, then you answer the corresponding question by entering 1. If you want this coefficient to be 1, you correspondingly answer this question by putting in a 1. After having answered the question for further summands in your second factor by n, the program then gives you the desired answer in the following form: After having entered the dates for the first factor, it will print
1 23
1 1111
1 111123 1 11124 1 11133 1 1134
There is also a routine that expands a Schur polynomial into a sum of monomials over a given alphabet of indeterminates:
{2,3}{14}={14,2,3}+{13,2,4}+{13,32}+{12,3,4}.
see schur.doc for details. Corresponding routines are available for monomial symmetric polynomials as well as for complete symmetric polynomials.
compute_schur_with_alphabet,
Symmetric polynomials |