Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Creating a Listable Function

  • To: mathgroup at
  • Subject: [mg73526] Creating a Listable Function
  • From: Gregory Lypny <gregory.lypny at>
  • Date: Wed, 21 Feb 2007 01:44:30 -0500 (EST)

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?



  • Prev by Date: Re: obtaining an ordered subset of k elements
  • Next by Date: Map function which adds last two numbers of a list
  • Previous by thread: Re: Limit of Error function Erf
  • Next by thread: Re: Creating a Listable Function