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

- namePrefix [edit] v0.8
*Parse the value of a number, return the number in a shortened metric notation. EX: 1200000 into 1.2M 1000 into 1k.* - peasant_multiply [edit] v0.4
*This implements the peasant multiplication algorithm. http://en.wikipedia.org/wiki/Peasant_multiplication* - date_difference [edit] v0.2
*Compute the difference in weeks, days, hours, minutes and seconds between two dates.* - generate_graph_color [edit] v0.6
*Generate a color from a number (between 0 and 26). Colors would be suitable for bars in a bar chart for example. Adjacent colors clash.* - ascii_art [edit] v0.1
*Turn an image into ASCII art.* - primes [edit] v0.1
*Return an array of primes.* - antialias_pixel [edit] v0.1
*Helper function to apply a certain weight of a certain color to a pixel in an image. The index of the resulting color is returned. The alpha channel (transparency) is supported.* - add_to_object [edit] v0.1
*Add a name/value pair to an object.* - random_list [edit] v0.1
*Returns a list containing the values between start and end, but in random order.* - isbn_validate [edit] v0.2
*Validate an ISBN using the checksum digit at the end. Position of the dashes is irrelevant.* - scientific_notation [edit] v0.2
*Converts number to scientific notation. The first parameter is the number while setting the second parameter to true (1) returns the number in 1.0E5 (10 ^ 5) format.* - word_counts [edit] v0.2
*Return an array recording the number of occurrences of each unique word in the text.* - rounded_rectangle [edit] v0.2
*Draw a rectangle with rounded corners.* - books_by [edit] v0.2
*Query Freebase for all the works written by a given author.* - triangulate [edit] v0.1
*Calculate the side lengths and angles of a triangle. Provide 3 values for the sides and angles. At least one value must be a side. Leave the other three values blank.* - quick_sort [edit] v0.1
*Implementation of the "quick sort" method. Selects a pivot and then arranges the array into two smaller arrays: items lesser than pivot and items greater than pivot. The two arrays are then recursively quick sorted.* - approx_date_diff [edit] v0.1
*Human readable approximate difference between two dates.* - indefinite_article [edit] v0.1
*Put the correct indefinite article (a or an) in front of a word.* - parallel_same_value_resistors [edit] v0.3
*Calculate the resistance of a NUMBER of parallel resistors of the same VALUE* - scale_image [edit] v0.2
*Scale an image.*