On Thursday, July 16, 2015 at 3:57:20 AM UTC+2, fidelbc wrote: > > Maybe you can try implementing something along these lines > > *def integrate_matrix(A):* > * m = A.nrows()* > * n = A.ncols()* > * return matrix(m,n, [entry.integrate() for row in A for entry in row > ])* > > If you want to have the entries of a matrix you can get them without having to construct intermediate rows:
matrix(m,n, [entry.integrate() for entry in A.list()] -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.