PHP Math
Free and open source PHP scripts about Math related classes
This is a selfcontained PHP script for calculating mathematical equations via PHP code alone, without any dependency on external libraries or softwareThis small script is a lifesaver for developers that have problems solving math equations.phpEquations lets the user input his equations and provides a matrix with the results.phpEquations can be used in engineering, applied sciences and in the educational sector, ...

This is a simple PHP script to show the distance between places on Earth. Users have a form in front of them, where they can enter the locations in and submit it.The script will calculate the distance between the two points, showing the locations on maps, while also a map with the two points linked.

This is a simple PHP script to handle complex numbers. The script can handle various mathematical operations. It includes adding and subtraction.

This script can be used to count array values by given the entried names. It traverses a given array of associative array values and group all entries that have the same value of a given entry.Array Treatment can return an associative array with the key entries which is defined by one given entry, summing all values of another given entries.Requirements: ...

Matrix new is an enhanced version of the Matrix class originally written by Diego Carrera. The script is designed to allow matrix operations in PHP code. This version introduces functions to set the matrix columns and rows values directly, added a few more mathematical functions to initialize the values of the matrix, among other enhancements.Requirements: PHP 4 or higher

This is a function to convert a 64 bit number since base_convert will choke on a number that size. There is only one function in this scripts. What you need to do is pass your parameters to the function, then it will return what you need.

This class can be used to solve cubic equations. It takes the values of the coefficients and determines the roots of the cubic equation. Requirement: PHP 5.0 or Higher

This class can be used to calculate the median and percentile of a set of values.It takes a set of numeric values and can calculate an arbitrary percentile.The class can also calculate the median (50%) and quartile (25%, 50%, 75%).

This class can be used to generate a series of numbers that decrease smoothly.It takes as arguments an initial value and the number of steps of numbers to be generated.The class generates a series of numbers equal to the number of specified steps that decrease from the initial value until it reaches zero, using quadratic equations to determine the approximation ...

This class can perform several types of general purpose utility functions.Currently it can: Compare and manipulate dates Extract IEEE 754 floating point values Validate strings with IP addresses Extract all keys associated with a value in an array Etc.

This class can be used to perform operations to manipulate matrices.It is an enhanced version of the Matrix class originally written by Diego Carrera. This version introduces functions to set the matrix columns and rows values directly, added a few more mathematical functions to initialize the values of the matrix, among other enhancements.

This class can be used to generate Fibonacci sequence numbers.It provides an iterator interface to generate the following Fibonnaci number when retrieving the next iterator element.

This package can be used to evaluate and render polynomial equations.It can take an array of coefficients of a polynomial equation and can evaluate it for a given x value.It can also generate HTML to render the equation in a Web page.

This class can be used to convert numbers between decimal and roman representations and viceversa.It takes a number between 1 and 10999 and converts it to a string that represents the number with roman digits.The class can also do the opposite, i.e. take a string that contains a number represented with roman digits and converts it to decimal.

This class is designed to create bitmasks, which are very commonly used to store lists of true or false values as a single integer.The class can manpulate bitmasks that are not limited to 32 bits. It does not need the PHP gmp extension to provide arbitrary bit length support.This absence of limits may encourage the storage of more complex data ...