| 1 |
Littlewood-Richardson Calculator version 1.2 |
| 2 |
Copyright (C) 1999- Anders S. Buch (asbuch at math rutgers edu) |
| 3 |
|
| 4 |
|
| 5 |
INSTALLATION |
| 6 |
============ |
| 7 |
|
| 8 |
This file explains how to install and use the programs. See the file |
| 9 |
ChangeLog for a list of bug-fixes, enhancements, and contributors. |
| 10 |
|
| 11 |
This project uses the standard installation procedure: |
| 12 |
|
| 13 |
./configure |
| 14 |
make |
| 15 |
sudo make install |
| 16 |
|
| 17 |
The last step is optional and installs the programs |
| 18 |
|
| 19 |
lrcalc and schubmult |
| 20 |
|
| 21 |
in the directory /usr/local/bin, as well as the maple interface |
| 22 |
lrcalc.maple in /usr/local/share/lrcalc. It also installs the lrcalc |
| 23 |
library and header files. (The directory /usr/local can be changed, |
| 24 |
see the file INSTALL for details.) |
| 25 |
|
| 26 |
You may want to further run the test suite: |
| 27 |
|
| 28 |
make check |
| 29 |
|
| 30 |
Notice also that the Littlewood-Richardson Calculator is now |
| 31 |
integrated in the SAGE open-source mathematics system. You may prefer |
| 32 |
to use lrcalc from SAGE to take advantage of the additional functions |
| 33 |
in this system. |
| 34 |
|
| 35 |
|
| 36 |
USAGE |
| 37 |
===== |
| 38 |
|
| 39 |
We give a very brief description of the programs. |
| 40 |
|
| 41 |
The program lrcalc can perform various operations on symmetric |
| 42 |
functions, and its first argument must specify the operation to be |
| 43 |
used. There are five of these operations: |
| 44 |
|
| 45 |
|
| 46 |
lrcalc coef: Compute a single Littlewood-Richardson coefficient. |
| 47 |
----------- |
| 48 |
|
| 49 |
The command "lrcalc coef z - x - y" computes the Littlewood-Richardson |
| 50 |
coefficient c^z_{x,y} which is the coefficient of the Schur function |
| 51 |
s_z in the product s_x * s_y. |
| 52 |
|
| 53 |
Example: |
| 54 |
|
| 55 |
% lrcalc coef 3 2 1 - 2 1 - 2 1 |
| 56 |
2 |
| 57 |
|
| 58 |
|
| 59 |
lrcalc skew: Expand a skew Schur function in the basis of Schur |
| 60 |
----------- functions. |
| 61 |
|
| 62 |
The command "lrcalc skew z / x" lists all partitions y for which the |
| 63 |
Littlewood-Richardson coefficient c^z_{x,y} is non-zero, with that |
| 64 |
coefficient in front. |
| 65 |
|
| 66 |
Example: |
| 67 |
|
| 68 |
% lrcalc skew 3 2 1 / 2 1 |
| 69 |
1 (3) |
| 70 |
2 (2, 1) |
| 71 |
1 (1, 1, 1) |
| 72 |
|
| 73 |
|
| 74 |
lrcalc mult: Expand a product of two Schur functions in the basis of |
| 75 |
----------- Schur functions. |
| 76 |
|
| 77 |
The command "lrcalc mult x - y" lists all partitions z for which the |
| 78 |
Littlewood-Richardson coefficient c^z_{x,y} is non-zero, with that |
| 79 |
coefficient in front. |
| 80 |
|
| 81 |
Example: |
| 82 |
|
| 83 |
% lrcalc mult 2 1 - 2 1 |
| 84 |
1 (3, 3) |
| 85 |
1 (4, 2) |
| 86 |
1 (2, 2, 1, 1) |
| 87 |
1 (2, 2, 2) |
| 88 |
2 (3, 2, 1) |
| 89 |
1 (4, 1, 1) |
| 90 |
1 (3, 1, 1, 1) |
| 91 |
|
| 92 |
|
| 93 |
The option -r <rows> can be used to limit the partitions in the output |
| 94 |
to a given number of rows. |
| 95 |
|
| 96 |
|
| 97 |
The command Lrcalc mult can also compute products in the small quantum |
| 98 |
cohomology ring of a Grassmann variety. The option "-q m,k" will use |
| 99 |
the quantum ring of the Grassmannian Gr(m,m+k). If -q is replaced |
| 100 |
with -f, then the same product is computed, but the output is given in |
| 101 |
fusion ring notation. |
| 102 |
|
| 103 |
Example: |
| 104 |
|
| 105 |
% lrcalc mult -q 3,2 3 2 1 - 3 2 1 |
| 106 |
1 (2) |
| 107 |
1 (1, 1) |
| 108 |
|
| 109 |
% lrcalc mult -f 3,2 3 2 1 - 3 2 1 |
| 110 |
1 (4, 4, 4) |
| 111 |
1 (5, 4, 3) |
| 112 |
|
| 113 |
|
| 114 |
lrcalc coprod: Calculate coproducts in the ring of symmetric |
| 115 |
------------- functions. |
| 116 |
|
| 117 |
The command "lrcalc coprod z" lists all pairs of partitions x and y |
| 118 |
for which the Littlewood-Richardson coefficient c^z_{x,y} is non-zero, |
| 119 |
with that coefficient in front. |
| 120 |
|
| 121 |
Example: |
| 122 |
|
| 123 |
% lrcalc coprod 3 2 1 |
| 124 |
|
| 125 |
1 (3, 1) (2) |
| 126 |
1 (2, 2) (1, 1) |
| 127 |
1 (3, 1) (1, 1) |
| 128 |
1 (2, 1) (3) |
| 129 |
2 (2, 1) (2, 1) |
| 130 |
1 (2, 2, 1) (1) |
| 131 |
1 (3, 2, 1) () |
| 132 |
1 (3, 2) (1) |
| 133 |
1 (2, 1, 1) (2) |
| 134 |
1 (3, 1, 1) (1) |
| 135 |
1 (1, 1, 1) (2, 1) |
| 136 |
1 (2, 1, 1) (1, 1) |
| 137 |
1 (2, 2) (2) |
| 138 |
|
| 139 |
|
| 140 |
schubmult: Expand a product of two Schubert polynomials in the basis |
| 141 |
--------- of Schubert polynomials. |
| 142 |
|
| 143 |
Example: |
| 144 |
|
| 145 |
% schubmult 1 3 2 - 1 3 2 |
| 146 |
1 (1, 4, 2, 3) |
| 147 |
1 (2, 3, 1) |
| 148 |
|
| 149 |
|
| 150 |
MAPLE INTERFACE |
| 151 |
=============== |
| 152 |
|
| 153 |
The file lrcalc.maple in the directory /usr/local/share/lrcalc |
| 154 |
provides an interface between the above C programs and Maple. It |
| 155 |
allows you to combine the notational convenience of Maple with the |
| 156 |
speed of C programs. |
| 157 |
|
| 158 |
To use the interface, simply type |
| 159 |
|
| 160 |
read "/usr/local/share/lrcalc/lrcalc.maple"; |
| 161 |
|
| 162 |
after starting Maple. |
| 163 |
|
| 164 |
You can copy the file lrcalc.maple to a more convenient directory to |
| 165 |
avoid typing the full path every time you wish to load it. |
| 166 |
|
| 167 |
The notation used by the Maple interface is the same as in John |
| 168 |
Stembridge's "SF" Maple package for computing with symmetric |
| 169 |
functions. I hope this will make it easier to use SF with the Maple |
| 170 |
interface. |
| 171 |
|
| 172 |
The Maple interface defines three Maple functions: |
| 173 |
|
| 174 |
tos, skew, lrcoef |
| 175 |
|
| 176 |
The following Maple session gives an example of how to use them: |
| 177 |
|
| 178 |
|
| 179 |
% maple |
| 180 |
|\^/| Maple V Release 4 (WMI Campus Wide License) |
| 181 |
._|\| |/|_. Copyright (c) 1981-1996 by Waterloo Maple Inc. All rights |
| 182 |
\ MAPLE / reserved. Maple and Maple V are registered trademarks of |
| 183 |
<____ ____> Waterloo Maple Inc. |
| 184 |
| Type ? for help. |
| 185 |
> read "/usr/local/share/lrcalc/lrcalc.maple"; |
| 186 |
> lrcoef([3,2,1], [2,1], [2,1]); |
| 187 |
2 |
| 188 |
|
| 189 |
> skew(s[3,2,1], s[2,1]); |
| 190 |
s[3] + 2 s[2, 1] + s[1, 1, 1] |
| 191 |
|
| 192 |
> tos(s[2,1] * s[2,1]); |
| 193 |
s[3, 3] + s[4, 2] + s[2, 2, 1, 1] + s[2, 2, 2] + 2 s[3, 2, 1] + s[4, 1, 1] |
| 194 |
|
| 195 |
+ s[3, 1, 1, 1] |
| 196 |
|
| 197 |
> lrcoef( s[12,11,10,9,8,7,6,5,4,3,2,1],\ |
| 198 |
> s[8,7,6,5,4,3,2,1], s[8,7,6,6,5,4,3,2,1]); |
| 199 |
7869992 |
| 200 |
|
| 201 |
|
| 202 |
Enjoy! |
| 203 |
|
| 204 |
Anders S. Buch (July 16, 2014) |
| 205 |
|