I have explored the sympy features and i was very impressed with both the amount of features and the ease of testing with the doc and the coupled Live Shell. I want to write a programm that simplifies expressions as much as possible to minimize calculation time because they will later be numericaly evaluated very often. The most features I need work very well. But with arrays I have a problem. I need to define an array object as an symbol, so that the following is possible:
simplify(2.0*2.0*t[0]) is simplified to: 4.0*t[0] and: idx = 2 simplify(2.0*2.0*t[idx]) shold be simplified to: 4.0*t[2] Is there any way to do this? david -- 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 http://groups.google.com/group/sympy. For more options, visit https://groups.google.com/groups/opt_out.
