Removed debug output.
[cadabra.git] / examples / young_tableaux.cnb
blob1f8edaa94b14e6f609051c262059f403910fbb17
1 % Cadabra notebook version 1.1
2 \documentclass[11pt]{article}
3 \usepackage[textwidth=460pt, textheight=660pt]{geometry}
4 \usepackage[usenames]{color}
5 \usepackage{amssymb}
6 \usepackage[parfill]{parskip}
7 \usepackage{breqn}
8 \usepackage{tableaux}
9 \def\specialcolon{\mathrel{\mathop{:}}\hspace{-.5em}}
10 \renewcommand{\bar}[1]{\overline{#1}}
11 \begin{document}
12 {\color[named]{Blue}\begin{verbatim}
13 \tableau{#}::Tableau(dimension=10).
14 \end{verbatim}}
15 % Begin TeX comment
16 Assigning property Tableau to $\tableau{1}
19 % End TeX comment
20 {\color[named]{Blue}\begin{verbatim}
21 \tableau{2}{2} \tableau{2}{2};
22 \end{verbatim}}
23 % orig
24 % \tableau{2 2} \tableau{2 2}
25 % end_orig
26 \begin{dmath*}[compact, spread=2pt]
27 1\specialcolon{}= \tableau{2 2} \tableau{2 2};
28 \end{dmath*}
29 {\color[named]{Blue}\begin{verbatim}
30 @lr_tensor!(%);
31 \end{verbatim}}
32 % orig
33 % \tableau{4 4} + \tableau{4 3 1} + \tableau{4 2 2} + \tableau{3 3 1 1} + \tableau{3 2 2 1} + \tableau{2 2 2 2}
34 % end_orig
35 \begin{dmath*}[compact, spread=2pt]
36 1\specialcolon{}= \tableau{4 4} + \tableau{4 3 1} + \tableau{4 2 2} + \tableau{3 3 1 1} + \tableau{3 2 2 1} + \tableau{2 2 2 2};
37 \end{dmath*}
38 {\color[named]{Blue}\begin{verbatim}
39 \ftableau{#}::FilledTableau(dimension=10).
40 \end{verbatim}}
41 % Begin TeX comment
42 Assigning property FilledTableau to $\ftableau{{\#}}
45 % End TeX comment
46 {\color[named]{Blue}\begin{verbatim}
47 \ftableau{0,0}{1,1} \ftableau{a,a}{b,b};
48 \end{verbatim}}
49 % orig
50 % \ftableau{{0}{0},{1}{1}} \ftableau{{a}{a},{b}{b}}
51 % end_orig
52 \begin{dmath*}[compact, spread=2pt]
53 3\specialcolon{}= \ftableau{{0}{0},{1}{1}} \ftableau{{a}{a},{b}{b}};
54 \end{dmath*}
55 {\color[named]{Blue}\begin{verbatim}
56 @lr_tensor!(%);
57 \end{verbatim}}
58 % orig
59 % (\ftableau{{0}{0}{a}{a},{1}{1}{b}{b}} + \ftableau{{0}{0}{a}{a},{1}{1}{b},{b}} + \ftableau{{0}{0}{a}{a},{1}{1},{b}{b}} + \ftableau{{0}{0}{a},{1}{1}{b},{a},{b}} + \ftableau{{0}{0}{a},{1}{1},{a}{b},{b}} + \ftableau{{0}{0},{1}{1},{a}{a},{b}{b}})
60 % end_orig
61 \begin{dmath*}[compact, spread=2pt]
62 3\specialcolon{}= (\ftableau{{0}{0}{a}{a},{1}{1}{b}{b}} + \ftableau{{0}{0}{a}{a},{1}{1}{b},{b}} + \ftableau{{0}{0}{a}{a},{1}{1},{b}{b}} + \ftableau{{0}{0}{a},{1}{1}{b},{a},{b}} + \ftableau{{0}{0}{a},{1}{1},{a}{b},{b}} + \ftableau{{0}{0},{1}{1},{a}{a},{b}{b}});
63 \end{dmath*}
64 \end{document}