]> www.ginac.de Git - ginac.git/blob - doc/examples/ginac-examples.texi
06fd98859a6c19a8198583373312d874390bfb96
[ginac.git] / doc / examples / ginac-examples.texi
1 \input texinfo  @c -*-texinfo-*-
2 @c %**start of header
3 @setfilename ginac-examples.info
4 @settitle GiNaC Examples
5 @afourpaper
6 @c For `info' only.
7 @paragraphindent 0
8 @c For TeX only.
9 @iftex
10 @c I hate putting "@noindent" in front of every paragraph.
11 @parindent=0pt
12 @end iftex
13 @c %**end of header
14 @ifnottex
15 @node Top
16 @end ifnottex
17
18 @finalout
19 @c finalout prevents ugly black rectangles on overfull hbox lines
20
21 @majorheading GiNaC Examples
22
23 This is a collection of code examples using GiNaC.
24
25 @contents
26
27 @chapter Input / Output
28
29 @section Archiving expressions @uref{archive1.cpp, (source)}
30
31 Two expression are stored in an archive on the disk and are restored again.
32
33 @chapter Monte Carlo Integration
34
35 @section Example showing compile_ex @uref{compile1.cpp, (source)}
36
37 Simple example showing compile_ex with one free variable. Timing between CLN and C double numerics is done.
38
39 @section Using VEGAS from CUBA @uref{compile2.cpp, (source)}
40
41 An expression in two variables is integrated by using VEGAS from the
42 @uref{http://www.feynarts.de/cuba/, CUBA library}.
43
44 @section Example showing link_ex @uref{compile3.cpp, (source)}
45
46 Demonstrates the use of link_ex. Program has to be called more than once to see the effect.
47
48 @bye