PHP Math

Free and open source PHP scripts about Math related classes
  1. phpEquations
    174 total visits
    This is a self-contained PHP script for calculating mathematical equations via PHP code alone, without any dependency on external libraries or softwareThis small script is a life-saver 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, ...
  2. No Screenshot
    323 total visits
    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.
  3. complex_number
    198 total visits
    This is a simple PHP script to handle complex numbers. The script can handle various mathematical operations. It includes adding and subtraction.
  4. Array Treatment
    152 total visits
    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:- ...
  5. No Screenshot
    426 total visits
    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
  6. No Screenshot
    288 total visits
    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.
  7. No Screenshot
    500 total visits
    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
  8. No Screenshot
    601 total visits
    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%).
  9. No Screenshot
    256 total visits
    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 ...
  10. No Screenshot
    321 total visits
    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.
  11. Matrix new
    605 total visits
    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.
  12. No Screenshot
    260 total visits
    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.
  13. Equation
    459 total visits
    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.
  14. Dec2RomanNumConverter
    328 total visits
    This class can be used to convert numbers between decimal and roman representations and vice-versa.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.
  15. No Screenshot
    1012 total visits
    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 ...
Pages 1 of 5« 1 2 3 4 5 »