News for hackers. Stuff that matters.
Re:Can your programming language do this? by ulvund on Wednesday July 08, 2009 @04:58PM (#694675)
R:

  entropy <- function(x)  -sum(p(x)*log(p(x)))

There are no comments on this comment yet.