Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #16277 > unrolled thread
| Started by | David Barnes <barnes@pullman.com> |
|---|---|
| First post | 2013-11-27 06:23 +0000 |
| Last post | 2013-11-28 07:19 +0000 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
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
| From | David Barnes <barnes@pullman.com> |
|---|---|
| Date | 2013-11-27 06:23 +0000 |
| Subject | Integrating 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]
| From | Kevin <kjm@KevinMcCann.com> |
|---|---|
| Date | 2013-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]
| From | Kevin <kjm@KevinMcCann.com> |
|---|---|
| Date | 2013-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