Hello,

On Sat, Jun 11, 2011 at 6:56 PM, Tomo Lazovich <[email protected]> wrote:
> Lambda seems to work for me except for one thing.
>
> I have a class Wavefunction for representations of states in continuous
> bases. It subclasses Lambda and provides some additional convenience
> functions. One thing it would like to do internally is calculate
> self.expr*conjugate(self.expr). I've found, however, that because the Lambda
> uses dummy variables internally, even if I initialize the function with a
> symbol set to real=True, that doesn't carry over to the internal expression
> and so the conjugate isn't very well simplified. Is there a way to get
> around this?

I think that's in fact a limitation of Lambda. I think the best way
would be to fix Lambda to keep symbols assumptions in the internal
representation.  I created issue 2480 for this.

Renato

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to