[sympy] Re: General questions about the structure of SymPy

2009-08-04 Thread Ondrej Certik
On Tue, Aug 4, 2009 at 7:44 PM, Aaron S. Meurer wrote: > > I have worked around with Mul and Add, so I know pretty well how they > work, but I haven't worked with Symbol as much.  Ondrej and others who > wrote the core will know much better.  Also, is there a specific class > that you are consider

[sympy] Re: General questions about the structure of SymPy

2009-08-04 Thread Aaron S. Meurer
I have worked around with Mul and Add, so I know pretty well how they work, but I haven't worked with Symbol as much. Ondrej and others who wrote the core will know much better. Also, is there a specific class that you are considering if it should be a subclass of Symbol? Aaron Meurer On

[sympy] integrate trouble

2009-08-04 Thread Neal Becker
maxima: (%i1) 4*%pi^2*f^2*fn^4*(fn^2+9*f^2)/(fn^2+f^2)^3; (%o1) (4*%pi^2*f^2*fn^4*(fn^2+9*f^2))/(fn^2+f^2)^3 (%i2) integrate(%, f, minf, inf); Is fn positive, negative, or zero? positive; (%o2) 14*%pi^3*fn^3 sympy: fn=Symbol('fn', positive=True) 4*pi**2*f**2*fn**4*(fn**2+9*f**2)/(fn**2+f**2