让我们使用 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:
InterpolatingFunction[{{0, 5}},
{2, 0, True, False, {3}, {0}}, {{0, 1, 2, 3, 4, 5}},
{{0}, {1}, {3}, {4}, {3}, {0}}, {Automatic}]
Mathematica 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}]
Mathematica 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中没有。在版本8中似乎删除了对旧式InterpolatingFunction
的支持。是否可以在8.0.1版中重用 Mathematica 5.2生成的InterpolatingFunction
数据?