MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Creating a Listable Function

  • To: mathgroup at
  • Subject: [mg73552] Re: Creating a Listable Function
  • From: Jens-Peer Kuska <kuska at>
  • Date: Wed, 21 Feb 2007 06:04:58 -0500 (EST)
  • Organization: Uni Leipzig
  • References: <ergqjm$j0v$>
  • Reply-to: kuska at





Gregory Lypny wrote:
> Hello everyone,
> I've created a function for population variance, which does not make  
> use of Mathematica's built-in Variance function.
> VarPop[x_] := Total[(x - Mean@x)^2]/Length@x
> How do I need to change the definition to have the function operate  
> across lists much like Total, Mean, and Variance do?
> Regards,
> 	Greg

  • Prev by Date: Re: grouping similar list elements with gaps
  • Next by Date: Re: Map function which adds last two numbers of a list
  • Previous by thread: Creating a Listable Function
  • Next by thread: Re: Re: Creating a Listable Function