Yet another way to interface ginac (see the earlier posted ports). You can see the examples (and a way to quickly test this) at:
http://wiki.octave.org/wiki.pl?CategorySymbolic [--quote--] octave:1> df = g_diff ( "sin(x)" , "x" ) df = cos(x) octave:2> x = pi; eval ( df ); ans = -1 [--quote--] This is a `subpackage' of the mtt package. I modified the make files a bit to match our build environment. Also there are some patches for this to actually work, I will send them to the authors as well. Tested on amd64 (although this isn't quite platform dependent). pkg/DESCR: Gino is a symbolic toolbox for octave (www.octave.org) using ginsh - the shell interface to ginac (www.ginac.de). ginsh.m provides a low-level octave interface to ginsh. All of the ginsh functions are implemented by octave functions of the form g_fun(arglist). All in and out arguments of the toolbox functions are octave strings containing valid ginsh expressions. Where appropriate, these can be turned into matlab scalars, matrices and lists using octave's eval function. Spurious output is avoided by setting default_eval_print_flag=0. This provides a clear division between symbolic expressions (always contained in strings) and octave expressions. It also allows the powerful octave string machinery to be used to manipulate symbolic expressions. gino_examples.m contains some introductory examples. P.J.Gawthrop. 19th December 2002.
