Popularity
3.1
Declining
Activity
0.0
Stable
4
2
2
Monthly Downloads: 4
Programming language: Haskell
License: GNU General Public License v3.0 only
Tags:
Math
Statistics
hdr-histogram alternatives and similar packages
Based on the "Math" category.
Alternatively, view hdr-histogram alternatives based on common mentions on social networks and blogs.
-
vector
An efficient implementation of Int-indexed arrays (both mutable and immutable), with a powerful loop optimisation framework . -
hgeometry
HGeometry is a library for computing with geometric objects in Haskell. It defines basic geometric types and primitives, and it implements some geometric data structures and algorithms. The main two focusses are: (1) Strong type safety, and (2) implementations of geometric algorithms and data structures that have good asymptotic running time guarantees. -
dimensional
Dimensional library variant built on Data Kinds, Closed Type Families, TypeNats (GHC 7.8+). -
numhask
A haskell numeric prelude, providing a clean structure for numbers and operations that combine them. -
poly
Fast polynomial arithmetic in Haskell (dense and sparse, univariate and multivariate, usual and Laurent) -
eigen
Haskel binding for Eigen library. Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.
WorkOS - The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Promo
workos.com
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of hdr-histogram or a related project?
README
hdr-histogram
Overview
A Haskell implementation of HdrHistogram. It allows storing counts of observed values within a range, while maintaining precision to a configurable number of significant digits.
Example
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE ScopedTypeVariables #-}
import Control.Monad (forM_)
import qualified Data.HdrHistogram as H
import qualified Data.HdrHistogram.Mutable as MH
vals :: [Int]
vals = undefined
-- Measure from 1ms to 1 hour, with 3 points of precision
type Config = H.Config 1 3600000 3
main :: IO ()
main = do
h <- MH.new
forM_ vals (MH.record h)
(frozen :: H.Histogram Config Int Int) <- MH.freeze h
print $ H.percentile frozen 50