Thanks for the input Nils! On Thursday, July 16, 2015 at 4:04:01 AM UTC-4, Nils Bruin wrote: > > > > 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
