Registry / utility / markrogoyski-math-php

markrogoyski-math-php

JSON →
library2.13.0phppackagistunverified

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

composer require markrogoyski/math-php
INSTALL
IMPORT
SIG · MARKROGOYSKI-MATH-
M
markrogoyski-math-php
utilityphpv2.13.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Descriptive
use MathPHP\Statistics\Descriptive;

Calculate the mean of a dataset.

use MathPHP\Statistics\Descriptive; $data = [1, 2, 3, 4, 5]; echo Descriptive::mean($data); // 3
Debug
Known issues
breakingSome functions require PHP 7.2+ for type declarations.
fix
Ensure PHP version >= 7.2.
affects: <2.0.0
Upgrade
Version history
2.13.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources