sage和spyx在数值计算中的差异
这个问题似乎很基本,很抱歉,我在文档中找不到答案 两个文件sage和spyx在数值计算中的差异,sage,Sage,这个问题似乎很基本,很抱歉,我在文档中找不到答案 两个文件test.sage和test.spyx的内容相同;只是 a = 1/sqrt(2) print a 如果我用 $ sage test.sage $ sage test.spyx 我明白了 但是结果与我使用运行文件test.spyx时不同 $ sage test.sage $ sage test.spyx 我到哪里去了 Compiling test.spyx... 0.707106781187 如何防止sage在.spyx模式下
test.sage
和test.spyx
的内容相同;只是
a = 1/sqrt(2)
print a
如果我用
$ sage test.sage
$ sage test.spyx
我明白了
但是结果与我使用运行文件test.spyx
时不同
$ sage test.sage
$ sage test.spyx
我到哪里去了
Compiling test.spyx...
0.707106781187
如何防止sage在.spyx
模式下对1/\sqrt(2)
进行数值计算
(我也问了这个问题,但还没有得到答案…通常是sage的
。所有导入*
都应该做这项工作,但它没有。