All |
Popular |
Newest |
Recently Updated |
Highest Rated

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

# Popular algorithms

- decode_phpstring [edit] v0.1
*Decode a string which may contain PHP octal or hexidecimal notation to represent ASCII characters. Octal notation is of the form \NNN where NNN is a 3-digit octal number. Hexidecimal notation is of the form \xMM where MM is a 2-digit hex number.* - bogosort [edit] v0.1
*An extremely inefficient sorting method. The array is randomly shuffled until it is sorted.* - convert2grayscale [edit] v0.2
*Convert an image to grayscale.* - countries_from_freebase [edit] v0.2
*Output a list of all the world's countries. Get the list from freebase.* - biological_classification [edit] v0.1
*Use Freebase to look up the biological classification of a lifeform.* - bytes2human [edit] v0.1
*Display a byte count in human readable form.* - evaluate_for_x [edit] v0.3
*Evaluate an equation for x.* - freebase_populations [edit] v0.1
*Query Freebase for the populations of a set of countries.* - factorial [edit] v0.1
*Returns the factorial.* - random_usort [edit] v0.2
*Callback that can be used in the PHP function usort. It can be used to randomly sort.* - derivative [edit] v0.3
*Take the derivative of a function.* - even_number [edit] v0.1
*Return true if the number is even, false if odd. When run stand-alone, the handler is configured to return text saying whether it's even or odd.* - php_manual [edit] v0.1
*Return the manual page for a PHP function.* - reverse_factorial [edit] v0.1
*Calculate the reverse factorial. That is if y=x! and y is given, calculate x.* - time2seconds [edit] v0.2
*Convert a time like HH:MM:SS into the number of seconds.* - distance_on_earth [edit] v0.1
*Uses the spherical law of cosines to calculate the distance (in km) between 2 points on the earth.* - country_distance [edit] v0.1
*Returns the distance (in km) from the center of one country to the center of another.* - lcm [edit] v0.1
*Find the least common multiple (a.k.a. lowest common multiple, smallest common multiple or lowest common denominator) of two numbers.* - merge_sort [edit] v0.1
*Sort using the merge method. Each half of the array is sorted recursively, then the two sorted halves are merged.* - simple_recursor [edit] v0.1
*Example recursive function - enter a number less than 10 (0 works nicely)*