Wikifunctions:Function of the Week

From Wikifunctions

Every week a function is chosen to be showcased as the Function of the Week.

As of now, a function is chosen every week by Denny Vrandecic to be highlighted in our weekly status update, but in the future this will become more of a community-driven choice, where users can suggest functions to be highlighted.

Archive

Suggest your own Function of the Week

Here you can suggest what function (and why!) in your opinion should be featured as Function of the Week in the next update.

  • Mix colours (Z12997): This calculates colour mixtures, returning hexadecimal results. It prefers input in hexadecimal but also accepts basic colour names. -- many people don't often consider that colours are mathematical objects mutable by functions.
  • greatest common divisor (Z13612): returns the greatest common divisor of two natural numbers -- a classical problem with old algorithmic solutions, maybe a good place to talk about computational complexity
  • is leap year (Gregorian calendar) (Z10996): Returns True if the specified year in the Gregorian calendar (the one currently used in most parts of the world) has 366 days (February 29th added), and False if the year has 365 days -- most people know they occur every fouth year, but there is more complexity and an interesting history
  • select a function based on language (Z14310): Returns a function associated with the requested language on a configuration list. This is used in general functions which need to work differently in different languages. -- an important building block for our multilingual ambitions and for connecting similar functions
  • (add suggestion here)