dsp-0.2.5: Haskell Digital Signal Processing

Copyright(c) Matthew Donadio 2002
LicenseGPL
Maintainerm.p.donadio@ieee.org
Stabilityexperimental
Portabilityportable
Safe HaskellSafe
LanguageHaskell98

Numeric.Statistics.Median

Description

Simple module for computing the median on a list

Reference: Ross, NRiC

Synopsis

Documentation

median :: (Ord a, Fractional a) => [a] -> a Source #

Compute the median of a list

medianFast :: (Ord a, Fractional a) => [a] -> a Source #

Compute the center of the list in a more lazy manner and thus halves memory requirement.