Download the PHP package huasofoundries/math_histogram without Composer
On this page you can find all versions of the php package huasofoundries/math_histogram. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download huasofoundries/math_histogram
More information about huasofoundries/math_histogram
Files in huasofoundries/math_histogram
Package math_histogram
Short Description Fork/Refactor of PEAR's Math Stats + Math Histogram
License PHP-3.0
Informations about the package math_histogram
Math_Histogram
This Package is a fork/refactor of classic PEAR's Math_Stats and Math_Histogram, adapted to use PSR4 autoloading, namespaces and PHP 5.5+ compatibility.
To test, run:
So what were Math Stats and Math Histogram?
This project is intented to replace both Math Stats and Math Histogram, which were meant to be installed with PEAR. These were their descriptions
Math Stats
Package to calculate statistical parameters of numerical arrays of data. The data can be in a simple numerical array, or in a cummulative numerical array. A cummulative array, has the value as the index and the number of repeats as the value for the array item, e.g. $data = [ 3 => 4, 2.3 => 5, 1.25 => 6, 0.5 => 3]. Nulls can be rejected, ignored or handled as zero values.
Math Histogram
Package: Math_Histogram
These classes can be used to calculate histogram distributions of data sets.
The Math_Histogram class computes histograms from unidimensional data sets. These are also known as 2D historgrams, and can be computed in the regular binned frequency or as cummulative frequency.
Similarly, the Math_Histogram3D and Math_Histogram4D classes compute distributions from bi- and tri-dimensional data sets (respectively), both in regular frequency and cummulative frequency modes.
This package requires the Math_Stats package, so if you do not have it installed, you need to do:
pear install Math_Stats
before you can start using Math_Histogram in your scripts.
--- Jesus M. Castagnetto