Group Abstract Group Abstract

Message Boards Message Boards

0
|
1.3K Views
|
2 Replies
|
1 Total Like
View groups...
Share
Share this post:

Numerical Integration of interpolated function returning a list

Posted 1 year ago
POSTED BY: Giorgio Busoni
2 Replies

It seems that NIntegrate does not handle vector-valued InterpolatingFunction. Strangely enough, Integrate works fine:

dataX = Table[{n, {n, 2 n}}, {n, 0, 10}];
dataF = Interpolation[dataX];
Integrate[dataF[x], {x, 0, 10}]
POSTED BY: Gianluca Gorni
POSTED BY: Michael Rogers
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard