1

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

Interpolation[{{0, 0}, {1, 1}, {2, 3}, {3, 4}, {4, 3}, {5, 0}}] // InputForm

输出是:

数学5.2:

InterpolatingFunction[{{0, 5}}, 
 {2, 0, True, False, {3}, {0}}, {{0, 1, 2, 3, 4, 5}}, 
 {{0}, {1}, {3}, {4}, {3}, {0}}, {Automatic}]

数学7.0.1:

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}]

数学8.0.1:

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}]

Mathematica 5.2的输出在 7.0.1 版中用作输入时仍然有效,但在 8.0.1 版中无效。似乎InterpolatingFunction在版本 8 中放弃了对旧样式的支持。是否可以在版本 8.0.1 中重用Mathematica 5.2InterpolatingFunction生成的数据?

4

0 回答 0