Timeline for How to make use of an interpolating function outside of Mathematica?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 26, 2013 at 12:47 | comment | added | rm -rf♦ |
@george2079 You can find details on the structure of InterpolatingFunction and ways to access the internal data here: What's inside InterpolatingFunction[{{1., 4.}}, <>]?
|
|
Nov 25, 2013 at 22:00 | comment | added | Szabolcs | I agree. The function docs should be sprinkled with many links to the relevant sections of the advanced docs. It's mentioned here. | |
Nov 25, 2013 at 21:59 | comment | added | george2079 | Agreed. It is unfortunate that the docs for InterpolatingFunction don't mention any of this.. | |
Nov 25, 2013 at 21:45 | comment | added | Szabolcs |
InputForm is just a wrapper that affects printing. It's not means to be used this way, and it's unnecessary here.
|
|
Nov 25, 2013 at 21:40 | comment | added | Szabolcs |
The standard way to get the data from interpolating functions is intf["Grid"] and intf["ValuesOnGrid"] . You'll find these and more if you look in the DifferentialEquation`InterpolatingFunctionAnatomy package (belisarius's comment). See all available methods using intf["Methods"] . This is a safe way that's likely to work in future versions. A direct dissection of the object could easily break in the future.
|
|
Nov 25, 2013 at 21:34 | history | answered | george2079 | CC BY-SA 3.0 |