solving differential equatrions symbolically or numerically with C++
Hello, I am looking for a C++ library for doing symbolic or numeric computations within C++ programs. I would like a class that provides usefull tools for scientific computing (symbolic and numeric computations). I woluld like tools like in Mathematica (or Maple), but in a C++ class library !! Of particular importance is the solution of differential equations (symbolically or numerically; for ODEs or PDEs), so as variable precision arithmetic. Of course symbolic sympflification is very important. Is GiNaC the right tool for me, for doing symbolic computing and solving differential equations ? Or SymbolicC++ ? Can this libraries be an alternative to the functionality of mathematica (when used in C++ programs of course ... ) ? Thank you very very much for a short answer ... Alex.
Hello! On Mon, Sep 01, 2008 at 02:21:34PM +0200, Alessandro Bernardini wrote:
Of particular importance is the solution of differential equations (symbolically or numerically; for ODEs or PDEs),
GiNaC does not provide such functionality. Have a look at - GNU octave (http://www.gnu.org/software/octave) - GNU scientific library (http://www.gnu.org/software/gsl) - PETCs library (http://www-unix.mcs.anl.gov/petsc/petsc-as)
so as variable precision arithmetic.
I'm just curious: why one would want to use bignums for solving ODEs (PDEs) numerically? I doubt Runge-Kutta (FEM) will ever give result with 53-bit accuracy, so storing even more mantissa bits is kind of pointless, isn't it? Best regards, Alexei -- All science is either physics or stamp collecting.
participants (2)
-
Alessandro Bernardini
-
Alexei Sheplyakov