This seems doable and our cse algorithms are somewhat bad.
Hosengadi et al 2006:
http://cseweb.ucsd.edu/~kastner/papers/tcad06-poly_factorization_cse.pdf
-- Andy
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To view this discussion on the web vi
Hello,
I was trying to get sympy to write out some test problems for my code
in c++. The only problem I have is the exponentiation operator **. I
can change my core.power.Pow.tostr to use pow(%s,%s) instead of %s**
%s , but this isn't usable by others. I also wrote a routine to walk
the args t
Hmm updated my ancient code and got this to work:
class CppPrinter(printing.str.StrPrinter):
def _print_Pow(self, expr):
PREC = printing.precedence.precedence(expr)
if expr.exp is S.NegativeOne:
return '1/%s'%(self.parenthesize(expr.base, PREC))
else:
Is there an easy way to only run a specific set of tests, e.g. all the
ones in sympy/functions/elementary/tests?
It seems to me that all the tests are really functional tests (as in
the make sure sympy is functionally doing the right thing). Are there
any tests that are more performance tests an
So having better documentation is great! But maintaining this will be
really difficult, it seems with the little documentation there is I
find errors. Is it worth thinking about how to get some of this
automated from the module doc strings?
-- Andy
--~--~-~--~~~---~--~