1 Star 1 Fork 0

LingYuZhao/mathematical-expression-py

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
main.py 215 Bytes
一键复制 编辑 原始数据 按行查看 历史
LingYuZhao 提交于 2024-05-13 11:02 +08:00 . update
import mathematical_expression
mathematical_expression.register_function_expression("f(x) = x ^ 2")
c = mathematical_expression.functionFormulaCalculation2.get_instance("zhao")
print(c.calculation("1 + f(1 + 2)"))
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/BeardedManZhao/mathematical-expression-py.git
git@gitee.com:BeardedManZhao/mathematical-expression-py.git
BeardedManZhao
mathematical-expression-py
mathematical-expression-py
main

搜索帮助