@titlepage
@title GiNaC @value{VERSION}
@subtitle An open framework for symbolic computation within the C++ programming language
+@subtitle @value{UPDATED}
@author The GiNaC Group:
@author Christian Bauer, Alexander Frink, Richard B. Kreckel
After proper configuration you should just build the whole
library by typing
+
@example
$ make
@end example
+
at the command prompt and go for a cup of coffee.
Just to make sure GiNaC works properly you may run a simple test
suite by typing
+
@example
$ make check
@end example
+
This will compile some sample programs, run them and compare the output
to reference output. Each of the checks should return a message @samp{passed}
together with the CPU time used for that particular test. If it does
@section Installing GiNaC
To install GiNaC on your system, simply type
+
@example
$ make install
@end example
enough. We'll come across examples of such symbols later in this
tutorial.
-This implies that the stings passed to symbols at construction
+This implies that the strings passed to symbols at construction
time may not be used for comparing two of them. It is perfectly
legitimate to write @code{symbol x("x"),y("x");} but it is
likely to lead into trouble. Here, @code{x} and
cout << "gamma(" << foo << ") -> " << gamma(foo) << endl;
ex bar = foo.subs(y==1);
cout << "gamma(" << bar << ") -> " << gamma(bar) << endl;
- ex foobar= bar.subs(x==7);
+ ex foobar = bar.subs(x==7);
cout << "gamma(" << foobar << ") -> " << gamma(foobar) << endl;
// ...
@}
multiple have the synopsis:
@example
-#include <GiNaC/normal.h>
+#include <ginac/normal.h>
ex gcd(const ex & a, const ex & b);
ex lcm(const ex & a, const ex & b);
@end example