]> www.ginac.de Git - ginac.git/blobdiff - doc/examples/ginac-examples.texi
[build] include config.h conditionally to not break non-autotools build.
[ginac.git] / doc / examples / ginac-examples.texi
index 200c81e7a79f72cc3c1320052971acb1e265e483..7067f7ca0e81b14d56afff845a8f89b73e8f74a3 100644 (file)
 @node Top
 @end ifnottex
 
+@dircategory Mathematics
+@direntry
+* ginac-examples: (ginac-examples).                   C++ library for symbolic computation.
+@end direntry
+
 @finalout
 @c finalout prevents ugly black rectangles on overfull hbox lines
 
@@ -30,4 +35,33 @@ This is a collection of code examples using GiNaC.
 
 Two expression are stored in an archive on the disk and are restored again.
 
+@section Input and output of expressions
+
+@subsection Expression input @uref{derivative.cpp, (source)}
+
+Interactively input expression and compute its derivative with respect
+to the ``x'' variable.
+
+@chapter Monte Carlo Integration
+
+@section Example showing compile_ex @uref{compile1.cpp, (source)}
+
+Simple example showing compile_ex with one free variable. Timing between CLN and C double numerics is done.
+
+@section Using VEGAS from CUBA @uref{compile2.cpp, (source)}
+
+An expression in two variables is integrated by using VEGAS from the
+@uref{http://www.feynarts.de/cuba/, CUBA library}.
+
+@section Example showing link_ex @uref{compile3.cpp, (source)}
+
+Demonstrates the use of link_ex. Program has to be called more than once to see the effect.
+
+@chapter Lanczos Approximation
+
+The program lanczos.cpp calculates coefficients for use in the Lanczos
+approximation of the gamma function. The Lanczos approximation is used by
+the function inside GiNaC that approximates the gamma function numerically.
+See the comments in the source file for more information.
+
 @bye