python - Maple 中的 EllipticE 与 matematica 和 python 相比

标签 python math wolfram-mathematica integration maple

尝试在 Maple 中实现 Euler Elastica,其中 Jacobi 椭圆函数和椭圆积分至关重要。 Jacobi 椭圆函数:JacobiSN、JacobiCN、JacobiDN 和 JacobiAM 似乎按我的预期工作,但椭圆积分:EllipticE 的行为与我认为应该做的不准确。

对maple、matematica和python内置函数进行了比较:

Maple: 
plot([t, EllipticE(t), t = 0 .. 1])

enter image description here

Matematica: 
plot[EllipticE[t], {t, 0, 1}]

enter image description here

Python(scipy.special):     
t = arange(0, 1, 0.001)
plot(t, ellipe(t))

enter image description here

我唯一能找到的是: Maple计算第二类不完全和完全椭圆积分。

python和matematica计算第二类完全椭圆积分的地方

最佳答案

当我在发布问题 4 分钟后意识到答案时,我很喜欢。 maple 使用 m,而 python 和 matematica 使用 k。其中 k^2 = m

plot([t, EllipticE(sqrt(t)), t = 0 .. 1])

enter image description here

关于python - Maple 中的 EllipticE 与 matematica 和 python 相比,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28317034/

相关文章:

python - 如何将逗号分隔的字典字符串拆分为 Pandas 数据帧

algorithm - 应用对数在树中导航

colors - Mathematica 颜色函数缩放

user-interface - 在 Mathematica 中评估当前单元格而不离开或丢失其中的位置

python - 如何从 PyArrayObject 获取值?

java - Python 中 Java 的 ' byte[] decodeFile = Base64.getMimeDecoder().decode(fileBase64); ' 有替代方案吗?

python - 使用工作日或添加工作日创建数据框

javascript - 使用 JavaScript 防止标签重叠

java - 大于 lg N 的最小整数

wolfram-mathematica - Plot3D : Drawing Points at Mesh Intersections