#include <SyFi.h>
Go to the source code of this file.
Functions | |
int | main () |
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 }