Wolfram mathematica 如何在版本8.0.1中使用Mathematica 5.2生成的插值函数?

Wolfram mathematica 如何在版本8.0.1中使用Mathematica 5.2生成的插值函数?,wolfram-mathematica,mathematica-8,Wolfram Mathematica,Mathematica 8,让我们使用Mathematica 5.2、7.0.1和8.0.1插值相同的数据: Interpolation[{{0, 0}, {1, 1}, {2, 3}, {3, 4}, {4, 3}, {5, 0}}] // InputForm 这些产出是: Mathematica 5.2: Mathematica 7.0.1: Mathematica 8.0.1: Mathematica 5.2的输出在7.0.1版中用作输入时仍然有效,但在8.0.1版中不起作用。在第8版中,对旧式插值函数的支持似乎被

让我们使用Mathematica 5.2、7.0.1和8.0.1插值相同的数据:

Interpolation[{{0, 0}, {1, 1}, {2, 3}, {3, 4}, {4, 3}, {5, 0}}] // InputForm
这些产出是:

Mathematica 5.2:

Mathematica 7.0.1:

Mathematica 8.0.1:


Mathematica 5.2的输出在7.0.1版中用作输入时仍然有效,但在8.0.1版中不起作用。在第8版中,对旧式
插值函数的支持似乎被放弃了。是否可以在版本8.0.1中重用Mathematica 5.2生成的
插值函数
数据

有什么原因不想从旧版本的
插值函数
中提取点,然后在新版本中用这些点构造另一个
插值函数
对象吗?@Leonid没有,这可能是一个解决方案。但是我不知道如何从5.2版的
插值函数
中以一般方式正确地提取点(
插值函数
可能由
NDSolve
返回)。@Alexey,寻找内置包:“微分方程
插值函数解剖
”,它包含可以从插值函数结构中提取范围、数据点等的函数。@István我正在寻找独立于版本的解决方案。通过这种方式,我需要将
插值函数
转换为5.2版内部的数据集,因为它不能得到保证(而且我还没有检查它是否在v.8版中工作)在较新版本的Mathematica
Differentialsequations`Interpolation Functionary Natomy`
中将支持v.5.2中的旧式
Interpolation Function
。Differentialsequations
Interpolation Functionary Natomy
应与版本无关,是从插值函数中提取信息的最佳方式(正如您所注意到的,InputForm表示是未记录的,可能会发生更改。)
InterpolatingFunction[{{0, 5}}, 
 {2, 0, True, False, {3}, {0}}, {{0, 1, 2, 3, 4, 5}}, 
 {{0}, {1}, {3}, {4}, {3}, {0}}, {Automatic}]
InterpolatingFunction[{{0, 5}}, {3, 1, 0, {6}, {4}, 0, 0, 0, 0}, 
 {{0, 1, 2, 3, 4, 5}}, {{0}, {1}, {3}, {4}, {3}, {0}}, {Automatic}]
InterpolatingFunction[{{0, 5}}, {4, 3, 0, {6}, {4}, 0, 0, 0, 0, Automatic}, 
 {{0, 1, 2, 3, 4, 5}}, {{0}, {1}, {3}, {4}, {3}, {0}}, {Automatic}]