PHP Algorithm
PHP Numerical and Statistical algorithms
A linked list is a data structure in which the objects are arranged in a linear order.Unlike an array, thought in which the linear order is determined by array indices, the order is determinded by a pointer in each object.

This PHP script takes the coordinates of a set of points and draws lines that minimize the distance to the points using the least square fit PHP algorithm. The generateded graph will be saved to PNG image file. Requirements: PHP 4.0 or Higher

Quicksort produces a sorted sequence of an array form: index $start till index $end . Features: Function Quick_sort sorts the input array directly. Function QS_get gives a new array with a sorted sequence of the input array and leave the input array unchanged.

gPoint can be used to convert longitude and latitude coordinates between Universal Transverse Mercator (UTM) or Lambert Conformal Conic map projections.gPoint is useful to plot latitude and longitude values of points on a map image.

The script ArAutoSummarize can be used to automatically extract key phrases to summarize an given Arabic text. ArAutoSummarize can also parse a long Arabic text and use stemming and ranking algorithms to identify which can the be the most important keywords than can be used to summarize the text. To mark the text to highlight the keywords along the given ...

The script Arc Length can be used measure the length of arc of circle that contains 3 given points. Arc Length takes the coordinates of three points and tries to fit them in a arc of circle. Then it calculates the length of that arc.

Teedu Password Meter is used as a protection system, it can prevent a password from being easily guessed. The script can perform several tests on a given string (password) to compute a score that represents the strength of a password. Requirements:PHP 5 or higher

The size of sample (N) and the observed value (r) are taken as parameters and the significance is returned with the script Pearson Significance. Requirements: PHP 5.0 or higher

A sequence of pseudorandom characters is generated using a matrix of predefined randomized sets of characters with PseudoGen. The resulting random string can be used as a new matrix of randomized characters.Requirements: PHP 5.0 or higher

Anti_Util_CircularReference can be used to find circular references using waypoint array.It takes an array of pairs of values that are links between to points for instance in a map. The script traverses the array of values and detects when there groups of points that form a cyclic reference. Requirements: PHP 5.0 or higher

DFA (deterministic finite automaton) can be used to implement deterministic finite state machines. DFA takes as parameters arrays that define the alphabet of symbols accepted as input and lists of all possible states and transitions. It takes a string a input symbols to process and determines if the final state is valid. Requirements: PHP 5.0 or higher

MoonPhase takes a given day, month and year and determines the phase of the Moon for that day. It can also compute the distance of the Moon to the Earth. HTML code used to display a picture representing the computed Moon phase, can also be generated. Requirements: PHP 5.0 or higher

Dijkstra can be used to find the best route between two points using the Dijkstra algorithm. It takes as parameters an array with all possible routes between to points and the start point. Dijkstra can get the best path and the distance to each network point. Requirements: PHP 5 or higher

Pager script takes as parameters the limit number of entries to display per page, the total number of listing entries and the number of the currently selected page. An array with the number of first and last entries to display is returned. Requirements: PHP 3.0 or higher

DataComparison allows sorting any array consisting of arrays with key value pairs. Enjoy it and have fun with DataComparison.