From: Cameron McBride Date: 2009-11-04T11:28:00+09:00 Subject: [ruby-core:26517] Re: Add Standard Deviation Function to Math Module On Tue, Nov 3, 2009 at 16:56, Yusuke ENDOH wrote: > Hi, > > 2009/11/3 Yukihiro Matsumoto : >> |I was thinking that a Statistics module would be a good addition to Ruby. If >> |you decide that it would be worth creating one, I would be happy to >> |contribute. >> >> Although I have no knowledge and experience about statistics, I would >> love to support technically. �[ruby-core:26491] would be a good >> starting point. > > > I also think that statistics module will be really useful and important. > But it is arguable for me about how to embed: > > - Should it be a core-embedded library, not standard library nor gem? > - Should it be written in C, not Ruby? > - Should it be written from the scratch? �Why don't we import existing > �well-tested library? �For example, NArray provides standard deviation. I still don't understand why NArray isn't in the stdlib. It'd be great to "bless" a simple and elegant library like this to build off of (for specific C extensions, etc). Cameron