Hi, I want to compute the (in)definite integral of matrix valued function, for example

var('x'), f =matrix([[x,1],[x^2,2]]);

The command

integrate(f,x,0,1)

doesn't work. I expect matrix as a result - integrated by elements

1 | initial version |

Hi, I want to compute the (in)definite integral of matrix valued function, for example

var('x'), f =matrix([[x,1],[x^2,2]]);

The command

integrate(f,x,0,1)

doesn't work. I expect matrix as a result - integrated by elements

2 | No.2 Revision |

Hi, I want to compute the (in)definite integral of matrix valued function, for example

var('x'),

```
var('x')
f
```~~=matrix([[x,1],[x^2,2]]);~~=matrix([[x,1],[x^2,2]]);

The command

integrate(f,x,0,1)

```
integrate(f,x,0,1)
```

doesn't work. I expect matrix as a result - integrated by elements

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.