Hi all Since ginsh is built on top of CINT, it seemed reasonable to hope that GiNaC might able to be run from insite ROOT -- has anybody been able to do this? ROOT is here: http://root.cern.ch/ With the following simple test program,
#include <iostream> #include <ginac/ginac.h>
using namespace std; using namespace GiNaC;
int main(){ symbol x("x");
ex y = pow(x+1,3);
ex dydx = y.diff(x);
cerr << dydx; }
I get an error message from ROOT
Processing roottest.C... Limitation: Reference member not supported. Please use pointer FILE:/usr/include/ginac/print.h LINE:101
So maybe I can't use GiNaC inside ROOT? This is with GiNaC 1.3.2. Would appreciate any suggestions. How does gTybalt get around this? Cheers JP
On Tue, 23 Aug 2005, John Pye wrote:
Since ginsh is built on top of CINT, [...]
No, it isn't. Ginsh is built using flex and bison. (There used to be another program, GiNaC-Cint, but I've stopped maintaining it because Cint had too many restrictions.) Regards -richy. -- Richard B. Kreckel <http://www.ginac.de/~kreckel/>
participants (2)
-
John Pye
-
Richard B. Kreckel