compile3.cpp (ginac-1.7.11.tar.bz2) | : | compile3.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 link_ex. | * Demonstrates the use of link_ex. | |||
* | * | |||
* When run for the first time link_ex will fail. This is a rude way of | * When run for the first time link_ex will fail. This is a rude way of | |||
* checking whether the needed .so file is available. The .so is then created | * checking whether the needed .so file is available. The .so is then created | |||
* by compile_ex using the filename parameter. When run again link_ex will use | * by compile_ex using the filename parameter. When run again link_ex will use | |||
* the existing .so file. | * the existing .so file. | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 4 lines changed or added |