That remark is quite important. In the same spirit I would like to know if there are any arguments for using an expression for the representation instead of a function (the use of x_1 or x_dummy or whatever seems awkward (personal opinion!)).
Maybe one such argument is that using a function instead of an expression breaks the (possible) reuse of code between the implementation for discreet and continuous bases. (I'm really shooting in the dark here!) Anyhow, I would like to know what the others think about that. Using functions seems more natural to me (no x_dummies for one). Stefan On 7 June 2011 21:41, Øyvind Jensen <[email protected]> wrote: > I haven't dived into the quantum module, so I don't know how to answer > your question. But I think maybe it will be easier to find a good > solution if you look at it from the other end. What is it that you > ultimately want to do? What is the intended use of the function you > are implementing? > > Øyvind > > -- > You received this message because you are subscribed to the Google Groups > "sympy" 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?hl=en. > > -- You received this message because you are subscribed to the Google Groups "sympy" 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?hl=en.
