GiNaC Examples
**************

This is a collection of code examples using GiNaC.

Input / Output
**************

Archiving expressions (source) (archive1.cpp)
=============================================

Two expression are stored in an archive on the disk and are restored again.

Monte Carlo Integration
***********************

Example showing compile_ex (source) (compile1.cpp)
==================================================

Simple example showing compile_ex with one free variable. Timing between CLN and C double numerics is done.

Using VEGAS from CUBA (source) (compile2.cpp)
=============================================

An expression in two variables is integrated by using VEGAS from the CUBA library (http://www.feynarts.de/cuba/).

Example showing link_ex (source) (compile3.cpp)
===============================================

Demonstrates the use of link_ex. Program has to be called more than once to see the effect.