I'l let you know how it goes. The real application is rather cute. In condensed matter, we often measure the elementary excitations of solids. In simple magnets, these excitations are spin-waves. What I'm trying to do is make an application so that if you have an insulator and define the interactions, you can predict what excitations you will measure (in the simple case) to fit against experimental data. If it works, it will make exploring different models a lot easier and definetely more fun :> I really appreciate the work you guys have put into this!
William On Wed, Oct 1, 2008 at 6:24 PM, Ondrej Certik <[EMAIL PROTECTED]> wrote: > > On Wed, Oct 1, 2008 at 11:09 PM, william ratcliff > <[EMAIL PROTECTED]> wrote: > > First, thanks for the response! > > > >>Is there a good reason for using numpy.pi instead of sympy.pi? With > >>sympy.pi, the complex exponential will simplify symbolically to a real > >>number. > > > > In this case, there is not--However, this was a toy example. I am doing > a > > symbolic calculation which results in a matrix from which I need to > extract > > the eigenvalues, > > relevant eigenvalues will be real, but I need to catch the complex ones > > because it means that the when actual parameters are inserted the results > > are unphysical and the user needs to be informed. I will try converting > all > > the elements to complex first and see if that remedies the problem. > > Thanks, let us know how it went and if there is anything that should be > fixed. > > What is your real application of this? Something in quantum mechanics? > > Ondrej > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---