[sympy] Re: Integrate(exp(polynomial))

2008-10-31 Thread Pekeika
(1), (2) and (3) By,  Friedrich, DONE. Reading of Patches Tutorial suggested by Ondrej, DONE. Thanks very much to both of you... I'M LEARNING A LOT! Question: I am a PC. I have never used Linux/Unix. I installed the binary for windows of mercurial and I'm using the windows comand prompt. Would t

[sympy] Re: Sympy design question about encapsulation

2008-10-31 Thread Andy Ray Terrel
On Fri, Oct 31, 2008 at 6:46 AM, Brian Granger <[EMAIL PROTECTED]> wrote: > > One design pattern that I see in many places in sympy is that other > objects are not very encasulated. Let me give an example: > > Take printers. My initial expectation is that each object itself > would be responsibl

[sympy] Re: is_* methods on classes that are not subclasses of Basic

2008-10-31 Thread Andy Ray Terrel
On Fri, Oct 31, 2008 at 6:39 AM, Brian Granger <[EMAIL PROTECTED]> wrote: > > Hi, > > I am continuing some work that Ondrej and I started this week > implementing quantum operators in sympy. I am building a Dagger class > that does the hermitian conjugate. In the canonize method, the Dagger > op

[sympy] Sympy design question about encapsulation

2008-10-31 Thread Brian Granger
One design pattern that I see in many places in sympy is that other objects are not very encasulated. Let me give an example: Take printers. My initial expectation is that each object itself would be responsible for knowing how to print itself in various formats. I would handle this using an i

[sympy] is_* methods on classes that are not subclasses of Basic

2008-10-31 Thread Brian Granger
Hi, I am continuing some work that Ondrej and I started this week implementing quantum operators in sympy. I am building a Dagger class that does the hermitian conjugate. In the canonize method, the Dagger operator need to test what type of object has been passed to Dagger. >From there it 1) ei