[Haskell-cafe] Mathematics and Statistics libraries
Vivian McPhail
haskell.vivian.mcphail at gmail.com
Wed Mar 28 01:28:24 CEST 2012
Date: Sun, 25 Mar 2012 17:54:11 +0400
> From: Aleksey Khudyakov <alexey.skladnoy at gmail.com>
> Subject: Re: [Haskell-cafe] Mathematics and Statistics libraries
> To: haskell-cafe at haskell.org
> Message-ID: <4F6F2383.6070404 at gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 25.03.2012 14:52, Tom Doris wrote:
> > Hi Heinrich,
>
> And of course data visualization. Only library I know of is Chart[1] but
> I don't like API much.
>
There is the plot[1] library which provides for updateable plots from GHCi
REPL and has a gnuplot-like interface. I wrote it for this very reason, a
mathematics/statistics development environment.
It uses Data.Vector.Storable, which provides for compatability with both
statistics and hmatrix packages (as well as hstatistics).
>
> I think talking about data frames is a bit pointless unless we specify
> what is data frame. Basically there are two representations of tabular
> data structure: array of tuples or tuple of arrays. If you want first go
> for Data.Vector.Vector YourData. If you want second you'll probably end
> up with some HList-like data structure to hold arrays.
>
> Matrices from hmatrix are easily converted to rows or columns of
Data.Vector.Storable and can be sliced and otherwise manipulated.
[1] http://hackage.haskell.org/package/plot<%20%20[1]%20http://hackage.haskell.org/package/plot>
Vivian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120328/bbd5379d/attachment.htm>
More information about the Haskell-Cafe
mailing list