"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "doc/examples/compile1.cpp" between
ginac-1.7.11.tar.bz2 and ginac-1.8.0.tar.bz2

About: GiNaC (GiNaC is Not a CAS (Computer Algebra System)) is a C++ library for symbolic calculations.

compile1.cpp  (ginac-1.7.11.tar.bz2):compile1.cpp  (ginac-1.8.0.tar.bz2)
#include <ctime> #include <ctime>
#include <iostream> #include <iostream>
#ifdef IN_GINAC
#include "ginac.h"
#else
#include <ginac/ginac.h> #include <ginac/ginac.h>
#endif
using namespace std; using namespace std;
using namespace GiNaC; using namespace GiNaC;
/* /*
* Demonstrates the use of compile_ex. * Demonstrates the use of compile_ex.
* *
* Compiles a small expression as C code via compile_ex and evaluates the * Compiles a small expression as C code via compile_ex and evaluates the
* expression numerically. The evalation speed is timed and compared to the * expression numerically. The evalation speed is timed and compared to the
* evaluation of the original GiNaC expression. * evaluation of the original GiNaC expression.
* *
 End of changes. 2 change blocks. 
1 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)