[PURRS-devel] purrs/src Expr.defs.hh Expr.inlines.hh Expr.cc
Tatiana Zolo
zolo at spartacus.cs.unipr.it
Fri Jun 27 16:10:44 CEST 2003
CVSROOT: /cvs/purrs
Module name: purrs
Changes by: zolo at cs.unipr.it 2003-06-27 16:10:43
Modified files:
src : Expr.defs.hh Expr.inlines.hh Expr.cc
Log message:
Implemented the new methods `Expr::is_rational_scalar_representation()'
and `Expr::is_rational_polynomial()' and removed the old
`Expr::is_rational_polynomial()' that only tested the GiNaC's flag
`GiNaC::info_flags::rational_polynomial'.
Moved the function `sqrfree()' from the file Expr.inlines.hh to Expr.cc:
now, before to call `GiNaC::sqrfree' on a expression, every occurence
of polynomial expressions for PURRS but not for GiNaC (e.g. log(2)) is
substituted with an arbitrary symbol and, after the decomposition with
`sqrfree', come back to the original expression.
Patches:
http://www.cs.unipr.it/cgi-bin/cvsweb.cgi/purrs/src/Expr.defs.hh.diff?cvsroot=purrs&r1=1.79&r2=1.80
http://www.cs.unipr.it/cgi-bin/cvsweb.cgi/purrs/src/Expr.inlines.hh.diff?cvsroot=purrs&r1=1.72&r2=1.73
http://www.cs.unipr.it/cgi-bin/cvsweb.cgi/purrs/src/Expr.cc.diff?cvsroot=purrs&r1=1.36&r2=1.37
More information about the PURRS-devel
mailing list