https://github.com/mathematicator-core/integral-solver
Complex package for smart integral solving.
https://github.com/mathematicator-core/integral-solver
integral integral-equations math solver
Last synced: 7 months ago
JSON representation
Complex package for smart integral solving.
- Host: GitHub
- URL: https://github.com/mathematicator-core/integral-solver
- Owner: mathematicator-core
- License: mit
- Created: 2019-10-25T12:33:24.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-08T11:19:55.000Z (over 2 years ago)
- Last Synced: 2024-04-22T11:45:56.127Z (about 1 year ago)
- Topics: integral, integral-equations, math, solver
- Language: PHP
- Homepage: https://baraja.cz
- Size: 40 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/funding.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
PHP Math Integral Solver[](https://github.com/mathematicator-core/integral-solver/actions?query=workflow%3A%22Integrity+check%22)
[](https://codecov.io/gh/mathematicator-core/integral-solver)
[](https://packagist.org/packages/mathematicator-core/integral-solver)
[](https://packagist.org/packages/mathematicator-core/integral-solver)
[](./LICENSE)
[](https://phpstan.org/)## Installation
```
composer require mathematicator-core/calculator
```## Usage
Get instance of `IntegralSolver` and compute:```php
$solver = new IntegralSolver(/* some dependencies */);// Process simple input:
$solver->process('1 + x');
```All results can be renderer as LaTeX or returned as array of tokens for future computation.
All dependencies you can get by [Package manager](https://github.com/baraja-core/package-manager).
Fully compatible with `Nette 3.0` and `PHP 7.2`.
## Mathematicator Framework tools structure
The biggest advantage is that you can choose which layer best fits
your needs and start build on the top of it, immediately, without the need
to create everything by yourself. Our tools are tested for bugs
and tuned for performance, so you can save a significant amount
of your time, money, and effort.Framework tend to be modular as much as possible, so you should be able
to create an extension on each layer and its sublayers.**Mathematicator framework layers** ordered from the most concrete
one to the most abstract one:
Search
Modular search engine layer that calls its sublayers
and creates user interface.
Vizualizator
Elegant graphic visualizer that can render to
SVG, PNG, JPG and Base64.
Extensions:
Mandelbrot set generator
Calculator
Modular advance calculations layer.
Extensions:
Integral Solver
,
Statistics
Engine
Core logic layer that maintains basic controllers,
DAOs, translator, common exceptions, routing etc.
Tokenizer
Tokenizer that can convert string (user input / LaTeX) to numbers
and operators.
Numbers
Fast & secure storage for numbers with arbitrary precision.
It supports Human string and LaTeX output and basic conversions.
**Third-party packages:**
⚠️ Not guaranteed!
REST API
Install the whole pack as a REST API service
on your server (Docker ready) or
access it via public cloud REST API.
## Contribution
### Tests
All new contributions should have its unit tests in `/tests` directory.
Before you send a PR, please, check all tests pass.
This package uses [Nette Tester](https://tester.nette.org/). You can run tests via command:
```bash
composer test
````Before PR, please run complete code check via command:
```bash
composer cs:install # only first time
composer fix # otherwise pre-commit hook can fail
````