This function takes a range in form of "a-b" and generate a list of numbers between a and b inclusive.
Also accepts comma separated ranges like "a-b,c-d,f" will build a list which will include numbers from a to b, a to d and f
This python code snippet allows you to find the GCD of a list of numbers, after this it is a simple matter of diving all the numbers in the list by the GCD to reduce it.
Here is a simple program that can average a list of numbers. I wrote this to introduce someone to the language that we all use and love. :D The program may be simple, but it shows how easily a simple but useful program can turn out to be.
Thinking about a sequence of odd numbers where numbers divisible by 3 are not part of it I came to a sequence starting with 5, 7, 11, 13, 17, 19, ...
The interesting property of this sequence is that the sequence of...
This implements polynomial functions over a single variable in Python. It represents the polynomial as a list of numbers and allows most arithmetic operations, using conventional Python syntax. It does not do symbolic manipulations. Instead,...
A project aimed at creating an easy to use yet feature rich Integrated Development Environment for C/C++, specially designed for Linux. It includes advanced features like Syntax Highlighting, Line Numbers, Code Completion, A GUI Debugger etc.
This recipe returns a list of size n such that the contents of the returned list are random 0s and 1s. It returns a random binary list of size n.
WP-CodeBox provides clean syntax highlighting and AJAX advanced features for embedding source code within pages or posts. It support wide range of popular languages highlighting with line numbers, code download, Copy to clipboard, collapse...
Xtreme Locator is the premiere dealer locator software, zip code locator software, store locator software in the industry.
Xtreme Locator is packed full of features that surpass all of the other dealer locators combined and all or our...
Distribution of unique sums among all combinations of vectors.
ALLSUMS Distribution of unique sums among all combinations of vectors.
[S,C]=ALLSUMS(IN) depending on input IN, will do one of two different procedures for calculating...
Announcements - An area that you can let all Group Members know of current or up coming events. For example,- holidays, picnics, birthdays, or just about anything else. / Group Calander - Provides a spot for letting other group members know that...
This one line function adds up the ascii values of a string and returns the total as a checksum. Also included is a variation which returns the checksum mod 256 (so it can be used as a single byte).
The same technique can be used to add up a...
Greatest Divisor : d'Hondt; Jefferson; Highest Average
Smallest Divisor : Adams
Equal Proportions : Huntington; Hill; Geometric Mean
Harmonic Mean : Dean
Major Fractions :...
WP BANNERIZE is an Amazing Banner Image Manager. In your template insert: or set it like Widget
* Localizzate for Italian, English, Portuguese and Belorussian
* Create your list (group/key) Banners image
This is an evolutionary algorithm that returns a random list of prime numbers. This code is highly inefficient for a reason. This algorithm is more of a proof of concept that if a prime was a heritable trait, it would not be a desired one.
This code lets you retrieve multiple elements from a list at one time
This is a little code for making a list that can have only items from a list of types
This plugin is a widget to add the Twitter Tools List Widget (http://twitter.com/goodies/widget_list), including all configurable options, without needing to copy/paste code.
This plugin allows you to include code listing from external files into your content items,
with syntax highlighting and line numbers.
Please click the demo link to see a live example in action.