# integration of matrix-valued function

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