The example files
You will find among the files a lot of programs named
ex1.c,ex2.c,...
They contain examples of programs contained in the present manual
in order to show you several things that can be done and how they
should be done, but they also serve for big tests of the system. To
some of these programs there corresponds an input file
ex*.in
which contains a possible input for the corresponding program. How
you can apply these examples will be described in the following
chapter. But if you are impatient you may right now play with these
examples in the following way:
- Replace the file test.c by any one of these example files, say
by ex1.c and
- enter make
The system will then either tell you that a.out is ready, or, after
a while the prompt will return and then you simply enter
a.out
and either the program will immediately run (depending on the
example used), or you will be asked for parameters to enter. For
example, if test.c equals the example ex1.c, then you will be asked
for an integerobject, and if you enter 5, say, it will return you
the number 5 which you have entered.
Here are a few descriptions of some of the easier example files
which you may now like to play with:
- [ex4.c] This program shows you how easy it is to evaluate a
character table of a symmetric group of given degree, and how a
particular character value can be calculated.
- [ex6.c] This program evaluates a matrix the entries of which
are the scalar products of the Young characters of the symmetric
group of given degree.
- [ex16.c] Here you can see how the character table of a wreath
product of symmetric group can be obtained.
- [ex17.c] This example shows how decomposition matrices and
matrices of irreducible Brauer characters of symmetric matrices can
be evaluated.
harald.fripertinger "at" uni-graz.at, May 26,
2011