How to use InterpolatingFunction generated by Mathematica 5.2 in version 8.0.1?

别等时光非礼了梦想. 提交于 2019-12-13 02:30:20

问题


Let us interpolate the same data using Mathematica 5.2, 7.0.1 and 8.0.1:

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

The outputs are:

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

The output of Mathematica 5.2 still works when used as input in version 7.0.1 but not in version 8.0.1. It seems that support of the old-style InterpolatingFunction was dropped in version 8. Is it possible to reuse InterpolatingFunction data generated by Mathematica 5.2 in version 8.0.1?

来源:https://stackoverflow.com/questions/7702766/how-to-use-interpolatingfunction-generated-by-mathematica-5-2-in-version-8-0-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!