Integrate a matrix-function

*To*: mathgroup at smc.vnet.net*Subject*: [mg27454] Integrate a matrix-function*From*: "Martin Richter" <mrMICE.fi at cbs.dk>*Date*: Sun, 25 Feb 2001 20:56:02 -0500 (EST)*Organization*: UNI-C*Sender*: owner-wri-mathgroup at wolfram.com

Hi I'm using Mathematical 4.0. The problem is the following. I have a function, say f[s_,t_], there s,t are real numbers and the output is a matrix of size (n,n). I need to integrate each component in the matrix, i.e. make a new function, like this: g[s_,t_] := Integrate[f[u,t], {u,s,t}] // error So right now I have a line for each element but I think there is a one-line way of doing this (using Map or Apply) ? Thanks IA for any help Martin ---------------------------------------------- Please remove the PET to reply by email

**Follow-Ups**:**Re: Integrate a matrix-function***From:*Tomas Garza <tgarza01@prodigy.net.mx>