SyFi 0.3
diff_tools.h
Go to the documentation of this file.
00001 // Copyright (C) 2006-2009 Kent-Andre Mardal and Simula Research Laboratory.
00002 // Licensed under the GNU GPL Version 2, or (at your option) any later version.
00003 
00004 #ifndef DIFF_TOOLS_IS_INCLUDED
00005 #define DIFF_TOOLS_IS_INCLUDED
00006 
00007 #include <ginac/ginac.h>
00008 
00009 namespace SyFi
00010 {
00011 
00012         // the divergence
00013         // GiNaC::ex div(GiNaC::exvector& v);
00014         GiNaC::ex div(GiNaC::lst& v);
00015         GiNaC::ex div(GiNaC::lst& v,GiNaC::ex G);
00016         GiNaC::ex div(GiNaC::ex v);
00017         GiNaC::ex div(GiNaC::ex v, GiNaC::ex G);
00018 
00019         // the gradient
00020         GiNaC::ex grad(GiNaC::ex f);
00021         GiNaC::ex grad(GiNaC::ex f, GiNaC::ex G);
00022 
00023 }
00024 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines