Re: [sage-devel] simplify_full on matrices.

2011-01-15 Thread Francois Maltey
Hello, Any chance that we can add simplify_full on matrices? So that each element is simplified if possible? /1/ I suppose you know the map function that operate over each term of a list. map (lambda x: 3*x, [1,2,3]) # computes [3,6,9] # you can replace 3*x by the function simplify_what_y

[sage-devel] simplify_full on matrices.

2011-01-15 Thread ancienthart
Any chance that we can add simplify_full on matrices? So that each element is simplified if possible? For example, D = matrix([[-(e^3+2)/(e^3-1) + (2*e^3+1)/(e^3-1),1],[2,0]]) In sage, this returns a complex matrix. D[0][0].simplify_full() returns 1. I've noticed that matrices have the methods