Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Quantum

New issue 2614 by [email protected]: Wrong usage of Atom in sympy.physics.quantum
http://code.google.com/p/sympy/issues/detail?id=2614

In [1]: from sympy.physics.quantum.spin import *

In [2]: var('alpha,beta,gamma')
Out[2]: (α, β, γ)

In [3]: r = Rotation.D(S(1)/2,S(1)/2,S(1)/2,alpha,beta,gamma)

In [4]: r.is_Atom
Out[4]: True

In [5]: r.args
Out[5]: (1/2, 1/2, 1/2, α, β, γ)

`r` has non-empty args so is not an Atom (leaf in an expression tree).

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" 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-issues?hl=en.

Reply via email to