Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #16277 > unrolled thread

Integrating a Matrix

Started byDavid Barnes <barnes@pullman.com>
First post2013-11-27 06:23 +0000
Last post2013-11-28 07:19 +0000
Articles 3 — 2 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Integrating a Matrix David Barnes <barnes@pullman.com> - 2013-11-27 06:23 +0000
    Re: Integrating a Matrix Kevin <kjm@KevinMcCann.com> - 2013-11-28 07:17 +0000
    Re: Integrating a Matrix Kevin <kjm@KevinMcCann.com> - 2013-11-28 07:19 +0000

#16277 — Integrating a Matrix

FromDavid Barnes <barnes@pullman.com>
Date2013-11-27 06:23 +0000
SubjectIntegrating a Matrix
Message-ID<l7434o$hvt$1@smc.vnet.net>
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?

[toc] | [next] | [standalone]


#16282

FromKevin <kjm@KevinMcCann.com>
Date2013-11-28 07:17 +0000
Message-ID<l76qld$obo$1@smc.vnet.net>
In reply to#16277
Better still:

tbl = Table[x^(i + j), {i, 1, 3}, {j, 1, 3}]
NIntegrate[tbl, {x, 1, 2}]

On 11/27/2013 1:23 AM, David Barnes 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?
>

[toc] | [prev] | [next] | [standalone]


#16285

FromKevin <kjm@KevinMcCann.com>
Date2013-11-28 07:19 +0000
Message-ID<l76qpj$oc7$1@smc.vnet.net>
In reply to#16277
How about this?

tbl = Table[x^(i + j), {i, 1, 3}, {j, 1, 3}]
Integrate[tbl, x]

Kevin

On 11/27/2013 1:23 AM, David Barnes 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?
>

[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web