Download the PHP package markrogoyski/math-php without Composer
On this page you can find all versions of the php package markrogoyski/math-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download markrogoyski/math-php
More information about markrogoyski/math-php
Files in markrogoyski/math-php
Package math-php
Short Description Math Library for PHP. Features descriptive statistics and regressions; Continuous and discrete probability distributions; Linear algebra with matrices and vectors, Numerical analysis; special mathematical functions; Algebra
License MIT
Homepage https://github.com/markrogoyski/math-php/
Rated 4.50 based on 2 reviews
Informations about the package math-php
MathPHP - Powerful Modern Math Library for PHP
The only library you need to integrate mathematical functions into your applications. It is a self-contained library in pure PHP with no external dependencies.
Features
- Algebra
- Arithmetic
- Expression
- Polynomial
- Finance
- Functions
- Map
- Special Functions
- Information Theory
- Entropy
- Linear Algebra
- Matrix
- Vector
- Numbers
- Arbitrary Integer
- Complex
- Quaternion
- Rational
- Number Theory
- Integers
- Numerical Analysis
- Interpolation
- Numerical Differentiation
- Numerical Integration
- Root Finding
- Probability
- Combinatorics
- Distributions
- Continuous
- Discrete
- Multivariate
- Tables
- Sample Data
- Search
- Sequences
- Basic
- Advanced
- NonInteger
- Set Theory
- Statistics
- ANOVA
- Averages
- Circular
- Correlation
- Descriptive
- Distance
- Distributions
- Divergence
- Effect Size
- Experiments
- Kernel Density Estimation
- Multivariate
- PCA (Principal Component Analysis)
- PLS (Partial Least Squares Regression)
- Outlier
- Random Variables
- Regressions
- Significance Testing
- Trigonometry
Setup
Add the library to your composer.json
file in your project:
Use composer to install the library:
Composer will install MathPHP inside your vendor folder. Then you can add the following to your .php files to use the library with Autoloading.
Alternatively, use composer on the command line to require and install MathPHP:
Minimum Requirements
-
PHP 7.2
Note: For PHP 7.0 and 7.1, use v1.0 (
markrogoyski/math-php:1.*
)
Usage
Algebra
Arithmetic
Expression - Polynomial
Finance
Functions - Map - Single Array
Functions - Map - Multiple Arrays
Functions - Special Functions
Information Theory - Entropy
Linear Algebra - Matrix
Linear Algebra - Matrix Construction (Factory)
Linear Algebra - Vector
Number - Arbitrary Length Integers
Number - Complex Numbers
Number - Quaternion
Number - Rational Numbers
Number Theory - Integers
Numerical Analysis - Interpolation
Numerical Analysis - Numerical Differentiation
Numerical Analysis - Numerical Integration
Numerical Analysis - Root Finding
Probability - Combinatorics
Probability - Continuous Distributions
Probability - Discrete Distributions
Probability - Multivariate Distributions
Probability - Distribution Tables
Sample Data
Search
Sequences - Basic
Sequences - Advanced
Sequences - Non-Integer
Set Theory
Statistics - ANOVA
Statistics - Averages
Statistics - Circular
Statistics - Correlation
Statistics - Descriptive
Statistics - Distance
Statistics - Distributions
Statistics - Divergence
Statistics - Effect Size
Statistics - Experiments
Statistics - Kernel Density Estimation
Statistics - Multivariate - Principal Component Analysis
Statistics - Multivariate - Partial Least Squares Regression
Statistics - Outlier
Statistics - Random Variables
Statistics - Regressions
Statistics - Significance Testing
Trigonometry
Unit Tests
Beyond 100% code coverage!
MathPHP has thousands of unit tests testing individual functions directly with numerous data inputs to achieve 100% test coverage. MathPHP unit tests also test mathematical axioms which indirectly test the same functions in multiple different ways ensuring that those math properties all work out according to the axioms.
Standards
MathPHP conforms to the following standards:
- PSR-1 - Basic coding standard (http://www.php-fig.org/psr/psr-1/)
- PSR-4 - Autoloader (http://www.php-fig.org/psr/psr-4/)
- PSR-12 - Extended coding style guide (http://www.php-fig.org/psr/psr-12/)
License
MathPHP is licensed under the MIT License.
All versions of math-php with dependencies
ext-json Version *