simple_test.cpp File Reference

#include <SyFi.h>

Go to the source code of this file.

Functions

int main ()


Function Documentation

int main (  ) 

Definition at line 7 of file simple_test.cpp.

References SyFi::EQUAL_OR_DIE(), demos::simple::f, and SyFi::x.

00007            {
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 }


Generated on Mon Aug 31 16:16:49 2009 for SyFi by  doxygen 1.5.9