test_diff.cpp

00001 #include <Sym.h>
00002 #include <FunDef.h>
00003 #include <iostream>
00004 
00005 using namespace std;
00006 
00007 int main() {
00008     
00009     Sym v = SymConst(1.2);
00010 
00011     Sym g = exp(-sqr(v));
00012 
00013     cout << g << endl;
00014     cout << differentiate(g, v.token()) << endl;
00015     
00016 }
00017 

Generated on Thu Oct 19 05:06:44 2006 for EO by  doxygen 1.3.9.1