hmeap-0.15: Haskell Meapsoft Parser

Safe HaskellNone
LanguageHaskell98

Sound.Analysis.Meapsoft.Data

Description

Meapsoft analysis data input.

Synopsis

Documentation

read_inf :: Fractional n => String -> n Source

Read positive and negative Infinity, error if string is malformed.

to_f :: Fractional n => ByteString -> n Source

ByteString to Fractional via realToFrac and read_inf.

read_data :: Fractional n => FilePath -> Int -> IO (Int, [n]) Source

Given the number of columns, reads an entire MEAPsoft data set into a list and returns the data paired with the number of rows.

class Floating a => Meap_Data a where Source

Class to form UArray given interleaved input data.

Methods

meap_data_uarray :: Int -> Int -> [a] -> UArray (Int, Int) a Source

meap_data_index :: UArray (Int, Int) a -> (Int, Int) -> a Source