Feeling the pain of having to check it every time I use sympy, I plan to write a PyF1 according to the help manual of Mathematica.
As we all know, Mathematica's F1 can solve 99% of the problems.
Hoping this can also help you to use sympy
PR is welcomed. The format can refer to the existing documents
The document prototype can be found at the following URL
https://reference.wolfram.com/language/ref/[function_name].html.en?source=footer
For example:
https://reference.wolfram.com/language/ref/Sin.html.en?source=footer
有感于每次使用 sympy 都要查一遍的痛苦,就打算自己照着 Mathematica 的帮助文件写一份 PyF1
众所周知,Mathematica 的 F1 能解决 99% 的问题。
希望这个项目能帮到你
PR 的格式可参考已经有的文档
文档原型可以在以下网址查到
https://reference.wolfram.com/language/ref/[function_name].html.en?source=footer
例如
https://reference.wolfram.com/language/ref/Sin.html.en?source=footer
已完成的
Python 函数名 | 对应 Mathematica 函数名 |
---|---|
atan | ArcTan |
atan2(x,y) | ArcTan[y,x] |
sin | Sin |
cos | Cos |
hyper | HypergeometricPFQ/Hypergeometric2F1 |
tan | Tan |
sec | Sec |
rf | Pochhammer |
fourier_series | FourierSeries |
summation | Sum |
expand | Expand |
factor | Factor |
simplify | Simplify/FullSimplify |
collect | Collect |
coeff | Coefficient/CoefficientList |
together | Together |
apart | Apart |
limit | Limit |
expand_trig | TrigExpand |
diff | D |
series | Series |
integrate | Integrate |
eye | IdentityMatrix |
diag | DiagonalMatrix |
施工中
Python 函数名 | 对应 Mathematica 函数名 |
---|---|
plot | Plot |
plot3d | Plot3D |
parsing(parse_expr,etc) | ToExpression |
dsolve | DSolve |
本项目暂时停工