Question: Integrate each term of matrix

Hi,

I have a 1x3 matrix, with s0,s1,s2 terms in it. For example :
[(s-s1)*(s-s2). (s-s0)*(s-s2), (s-s0)*(s-s1)]

Is there a simple way that i can integrate the first one by s, second one by s0 and third one by s1?

to get a matrix for example:

[(int((s-s1)*(s-s2),s). int((s-s0)*(s-s2),s0), int((s-s0)*(s-s1),s1)]

Please advice,

Thanks.

Please Wait...