Hello, I am manipulating symbolic Matrices with complex numeric
coefficients (angular momentum operators).
Their real and imaginary parts are algebraic. I have troubles
diagonalizing them because the real representation of the coefficients
produce numerical rounding errors. As long as I use only real coefficients
I can define them as s=Fraction(int(n),int(m)), and use e.g.
sympy.sqrt(s*(s+1)), thus avoiding numerical rounding errors. However
Fraction(1,2)*1j is 0.5*I
and rounding errors are unavoidable. Is there a way out? I am thinking of a
complex number with algebraic immutable real and imaginary part.
i) Is the concept sound? and ii) is it implemented (implementable) in sympy?
Thanks for your help
Roberto
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/758f1cbe-3a5a-4518-9155-2702dfa74838%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.