On Wed, Jan 05, 2022 at 12:14:23AM -0800, Eric Gourgoulhon wrote: > The other difference in the above example is a lack of simplification of > sqrt(sin(theta)^2).
I think this problem is worse than "just" a lack of simplification: if sin(theta) < 0 then sqrt(sin(theta)^2 != sin(theta), i.e., the theta dependence is wrong, not "just" not-fully-simplified. Should we have another ticket this? Eric also wrote: > Actually, the difference between the two results is essentially due to a > different convention in the Condon-Shortley phase > (cf. > https://en.wikipedia.org/wiki/Spherical_harmonics#Condon%E2%80%93Shortley_phase > ), > which makes Sage's spherical harmonics Y_l^m differ from Wikipedia and > Mathematica ones by a factor (-1)^m. [[...]] > I would vote for including the Condon-Shortley phase in Sage's spherical > harmonics, since this is standard in quantum mechanics and this would make > Sage agree with Wikipedia and Mathematica. +1 on this. > I've opened > https://trac.sagemath.org/ticket/33117 > for this. -- -- "Jonathan Thornburg [remove color- to reply]" <jthorn4...@pink-gmail.com> on the west coast of Canada, eh? "There was of course no way of knowing whether you were being watched at any given moment. How often, or on what system, the Thought Police plugged in on any individual wire was guesswork. It was even conceivable that they watched everybody all the time." -- George Orwell, "1984" -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/YdZ3W6iYQDLa7EaA%40gold.bkis-orchard.net.