mathematicator-core/integral-solver

Simple package for solving integrals.


README

PHP Math Integral Solver

Integrity check codecov Latest Stable Version Latest Unstable Version License: MIT PHPStan Enabled

Installation

composer require mathematicator-core/calculator

Usage

Get instance of IntegralSolver and compute:

$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.

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:

Third-party packages:

⚠️ Not guaranteed!

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. You can run tests via command:

composer test

Before PR, please run complete code check via command:

composer cs:install # only first time
composer fix # otherwise pre-commit hook can fail