Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #16283
| From | Murray Eisenberg <murray@math.umass.edu> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Integrating a Matrix |
| Date | 2013-11-28 07:17 +0000 |
| Message-ID | <l76qm2$obq$1@smc.vnet.net> (permalink) |
| References | <20131127062412.B370C69F5@smc.vnet.net> |
| Organization | Time-Warner Telecom |
Perhaps something like the following (very simple example)?
mat = Table[f[i, j][x], {i, 1, 3}, {j, 1, 3}]
Partition[(NIntegrate[#, {x, 0, 1}] &) /@ Flatten[mat], 3]
On Nov 27, 2013, at 1:24 AM, David Barnes <barnes@pullman.com> wrote:
> I have a 3X3 matrix of functions fij[x], for i,j = 1,2,3, and I want to NIntegrate all nine elements over 0<x<1 to get a matrix of constants. Is there an easy way to do this other that doing 9 individual NIntegration's?
>
---
Murray Eisenberg
murray@math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower
University of Massachusetts
710 North Pleasant Street
Amherst, MA 01003-9305
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Integrating a Matrix Murray Eisenberg <murray@math.umass.edu> - 2013-11-28 07:17 +0000
csiph-web