News for hackers. Stuff that matters.
Re:Can your programming language do this? by TweedHeads on Wednesday July 08, 2009 @05:37PM (#694759)
Javascript can do it all:

  function entropy(x){ return sum(p(x)*log(p(x))); }

There are no comments on this comment yet.