On Tue, Feb 7, 2012 at 1:11 PM, Comer <comer.dun...@gmail.com> wrote: > Hi Ondrej, > > Your suggestion is very useful. I am now defining a matrix array with > element notation a_ij and label aij whereas your suggestion seems to > result in a_i_j and no more convenient to type label such as my > desired aij. How to do this?
The best is to improve the function symarray(): https://github.com/sympy/sympy/blob/master/sympy/matrices/matrices.py#L4377 You can see that the implementation is only 4 lines. You can add a few options to it, controlling this underscore behavior. 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 sympy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.