Updates:
        Cc: ondrej.c...@gmail.com

Comment #3 on issue 2423 by ondrej.c...@gmail.com: Rotation.d function incorrect evaluation
http://code.google.com/p/sympy/issues/detail?id=2423

Looking at the table 4.14 in Varshalovich, the values for beta=pi/2 are correct. There are no tables for -pi/2, so I'll just write the result using general "beta", from table 4.4.:

d(1, 0, 1, beta) = sin(beta)/sqrt(2)
d(1, 1, 0, beta) = -sin(beta)/sqrt(2)

For beta=pi/2, we get

d(1, 0, 1, pi/2) = sin(pi/2)/sqrt(2) = 1/sqrt(2)
d(1, 1, 0, pi/2) = -sin(pi/2)/sqrt(2) = -1/sqrt(2)

For beta=-pi/2, we get

d(1, 0, 1, -pi/2) = sin(-pi/2)/sqrt(2) = -1/sqrt(2)
d(1, 1, 0, -pi/2) = -sin(-pi/2)/sqrt(2) = 1/sqrt(2)

so indeed, the results for pi/2 are correct, but the results for -pi/2 have incorrect sign. So we just need to fix the method, that generates it.

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

Reply via email to