Series expansion

Stefan Weinzierl stefanw at fis.unipr.it
Fri Jun 22 17:51:20 CEST 2001


Gentlemen,

what's wrong with the following code in GiNaC 0.8.3:

int main()
{
  using namespace GiNaC;

  varidx mu(symbol("mu"),4);
  symbol eps("eps");

  ex g = 1 + eps;;
  cout << g.series(eps==0,5) << endl;

  ex h = 1 + eps*dirac_gamma(mu);
  cout << h.series(eps==0,5) << endl;

  return 0;
}

The program crashes when it tries to expand h.
Is the series member function actually defined somewhere
for an object like dirac_gamma ?

 Stefan






More information about the GiNaC-devel mailing list