Mathematica 对表达式求值一次,然后返回未求值的表达式
Mac OS X 10.7.2 上的 Mathematica 8.0.1 执行以下操作: 退出内核并执行
MathieuS[MathieuCharacteristicA[ 1, -(1/4)], -0.25`, 15.707963267948966`]
MathieuS[MathieuCharacteristicA[ 1, -(1/4)], -0.25`, 15.707963267948966`]
(*
5.10119 10^-15
MathieuS[MathieuCharacteristicA[1, -(1/4)], -0.25, 15.708]
*)
即,第一次对表达式进行数值计算,而第二次则返回未计算的形式。
为什么?或者我只是盯着屏幕看了太长时间而做了一些愚蠢的事情?
Mathematica 8.0.1 on Mac OS X 10.7.2 does this: Quit the kernel and execute
MathieuS[MathieuCharacteristicA[ 1, -(1/4)], -0.25`, 15.707963267948966`]
MathieuS[MathieuCharacteristicA[ 1, -(1/4)], -0.25`, 15.707963267948966`]
(*
5.10119 10^-15
MathieuS[MathieuCharacteristicA[1, -(1/4)], -0.25, 15.708]
*)
That is, the first time it numerically evaluates the expression, while the second time it returns the unevaluated form.
Why? Or have I just spent too long staring at my screen and am doing something stupid?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论