mathematicator-core / integral-solver
解决积分的简单包。
v3.0.2
2021-02-22 19:13 UTC
Requires
- php: ^8.0
- mathematicator-core/engine: ^2.0 || ^3.0
- mathematicator-core/numbers: ^2.1
- mathematicator-core/tokenizer: ^2.1 || ^3.0
Requires (Dev)
- brainmaestro/composer-git-hooks: dev-master
- jetbrains/phpstorm-attributes: ^1.0
- nette/bootstrap: ^3.0
- nette/tester: ^2.3
- phpstan/phpstan: ^0.12.74
- phpstan/phpstan-nette: ^0.12.14
- roave/security-advisories: dev-master
- spaze/phpstan-disallowed-calls: ^1.1
- tracy/tracy: ^2.8
- v3.0.2
- v3.0.1
- v3.0.0
- dev-master / 2.2.x-dev
- v2.0.2
- v2.0.1
- v2.0.0
- v1.1.0
- v1.0.1
- v1.0.0
- dev-dependabot/composer/phpstan/phpstan-tw-0.12.74or-tw-1.0.0
- dev-dependabot/composer/phpstan/phpstan-nette-tw-0.12.14or-tw-1.0.0
- dev-dependabot/composer/spaze/phpstan-disallowed-calls-tw-1.1or-tw-3.0
- dev-dependabot/add-v2-config-file
This package is auto-updated.
Last update: 2024-09-10 04:25:14 UTC
README
PHP 数学积分求解器
安装
composer require mathematicator-core/calculator
使用
获取 IntegralSolver
实例并计算
$solver = new IntegralSolver(/* some dependencies */); // Process simple input: $solver->process('1 + x');
所有结果都可以渲染为 LaTeX 或作为标记数组返回,以便将来计算。
所有依赖项都可以通过 包管理器 获取。
完全兼容 Nette 3.0
和 PHP 7.2
。
Mathematicator 框架工具结构
最大的优点是您可以选择最适合您需求的层,并在其上立即开始构建,而无需自行创建一切。我们的工具经过测试以排除错误,并针对性能进行了优化,因此您可以节省大量时间、金钱和精力。
框架尽可能地模块化,因此您应该能够在每一层及其子层上创建扩展。
Mathematicator 框架层 按从最具体到最抽象的顺序排列
第三方包
⚠️ 不保证!
贡献
测试
所有新贡献应在 /tests
目录中包含其单元测试。
在发送 PR 之前,请确保所有测试都通过。
此包使用 Nette Tester。您可以通过命令运行测试
composer test
在 PR 之前,请通过命令运行完整的代码检查
composer cs:install # only first time composer fix # otherwise pre-commit hook can fail