[sage-support] Re: integrating a matrix

2015-07-16 Thread Dominique Laurain
+ 1 with fidelcc maybe I will add SR (Symbolic Ring) after matrix( reference for integrating : http://tutorial.math.lamar.edu/Classes/DE/LA_Matrix.aspx or you can try writing some tricky code, writing a symbolic matrix using linear decomposition like that : M = x^0 M0 + x^1 M1 +... and the

Re: [sage-support] Re: integrating a matrix

2015-07-16 Thread Nils Bruin
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

Re: [sage-support] Re: integrating a matrix

2015-07-16 Thread fidelbc
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()* *

Re: [sage-support] Re: integrating a matrix

2015-07-15 Thread fidelbc
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 ])* On Wednesday, July 15, 2015 at 12:33:21 PM UTC-4, avi kaur wrote: On Wed, Jul 15, 2015 at

[sage-support] Re: integrating a matrix

2015-07-15 Thread Dima Pasechnik
It's not clear what this means mathematically, please explain. On Wednesday, 15 July 2015 13:01:59 UTC+1, avi kaur wrote: hello everybody I want to know, How we can obtain integration of matrix. suppose i have this matrix: x,y,z=var('x','y','z') f=matrix([[x^3,2*x^2,3*x],[2*