23 Aug
2005
23 Aug
'05
2:29 p.m.
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