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


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

Re: Integrating a Matrix

Started by"Dave Snead" <dsnead6@charter.net>
First post2013-11-28 07:19 +0000
Last post2013-11-28 07:19 +0000
Articles 1 — 1 participant

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

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Integrating a Matrix "Dave Snead" <dsnead6@charter.net> - 2013-11-28 07:19 +0000

#16286 — Re: Integrating a Matrix

From"Dave Snead" <dsnead6@charter.net>
Date2013-11-28 07:19 +0000
SubjectRe: Integrating a Matrix
Message-ID<l76qq7$oca$1@smc.vnet.net>
Just give the matrix as the first argument of NIntegrate.
Here's an example:
NIntegrate[{{x, x^2, x^3}, {x^4, x^5, x^6}, {x^7, x^8, x^9}}, {x, 0, 1}]
evaluates to
{{0.5, 0.333333, 0.25}, {0.2, 0.166667, 0.142857}, {0.125, 0.111111,0.1}}

Cheers,
Dave Snead

-----Original Message----- 
From: David Barnes
Sent: Tuesday, November 26, 2013 10:24 PM
Subject: Integrating a Matrix

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] | [standalone]


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


csiph-web