SyFi  0.3
simple_test.cpp
Go to the documentation of this file.
00001 #include <SyFi.h>
00002 
00003 using namespace GiNaC; 
00004 using namespace SyFi; 
00005 using namespace std; 
00006 
00007 int main() {
00008     symbol x("x"); 
00009     ex f = x*x; 
00010     ex intf = integral(x,0,1,f);
00011     intf = eval_integ(intf);
00012     EQUAL_OR_DIE(intf, "1/3");
00013 
00014     return 0; 
00015 }
00016 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator