Data.TDigest.Vector.Internal: exported symbols usage examples

Symbols

  • clamp No usage example found for this symbol :( Collapse [-]
    combineTDigest No usage example found for this symbol :( Collapse [-]
    compress See 1 Occurences [+] Collapse [-]
    Found in Data.TDigest.Vector from the package tdigest
        insert,
        insert',
    
        -- * Compression
        --
        -- |
        --
        -- >>> let digest = foldl' (flip insert') mempty [0..1000] :: TDigest 5
        -- >>> (size digest, size $ compress digest)
        -- (1001,173)
        --
        -- >>> (quantile 0.1 digest, quantile 0.1 $ compress digest)
        -- (Just 99.6...,Just 99.6...)
        --
        compress,
        forceCompress,
    
        -- * Statistics
        minimumValue,
        maximumValue,
    

    emptyTDigest No usage example found for this symbol :( Collapse [-]
    finalize No usage example found for this symbol :( Collapse [-]
    forceCompress See 1 Occurences [+] Collapse [-]
    Found in Data.TDigest.Vector from the package tdigest
        insert',
    
        -- * Compression
        --
        -- |
        --
        -- >>> let digest = foldl' (flip insert') mempty [0..1000] :: TDigest 5
        -- >>> (size digest, size $ compress digest)
        -- (1001,173)
        --
        -- >>> (quantile 0.1 digest, quantile 0.1 $ compress digest)
        -- (Just 99.6...,Just 99.6...)
        --
        compress,
        forceCompress,
    
        -- * Statistics
        minimumValue,
        maximumValue,
        -- ** Percentile
    

    insert See 1 Occurences [+] Collapse [-]
    Found in Data.TDigest.Vector from the package tdigest
    --
    -- >>> median (td' [1..500] <> (td' [501..1000] <> td' [1001..1500]))
    -- Just 750.5
    --
    -- >>> median ((td' [1..500] <> td' [501..1000]) <> td' [1001..1500])
    -- Just 750.5
    --
    module Data.TDigest.Vector (
        -- * Construction
        TDigest,
        tdigest,
    
        -- ** Population
        singleton,
        insert,
        insert',
    
        -- * Compression
        --
        -- |
    

    insert' See 1 Occurences [+] Collapse [-]
    Found in Data.TDigest.Vector from the package tdigest
    -- >>> median (td' [1..500] <> (td' [501..1000] <> td' [1001..1500]))
    -- Just 750.5
    --
    -- >>> median ((td' [1..500] <> td' [501..1000]) <> td' [1001..1500])
    -- Just 750.5
    --
    module Data.TDigest.Vector (
        -- * Construction
        TDigest,
        tdigest,
    
        -- ** Population
        singleton,
        insert,
        insert',
    
        -- * Compression
        --
        -- |
        --
    

    ksize No usage example found for this symbol :( Collapse [-]
    ksizeInv No usage example found for this symbol :( Collapse [-]
    maximumValue See 1 Occurences [+] Collapse [-]
    Found in Data.TDigest.Vector from the package tdigest
        -- |
        --
        -- >>> let digest = foldl' (flip insert') mempty [0..1000] :: TDigest 5
        -- >>> (size digest, size $ compress digest)
        -- (1001,173)
        --
        -- >>> (quantile 0.1 digest, quantile 0.1 $ compress digest)
        -- (Just 99.6...,Just 99.6...)
        --
        compress,
        forceCompress,
    
        -- * Statistics
        minimumValue,
        maximumValue,
        -- ** Percentile
        median,
        quantile,
        -- ** Mean & Variance
        --
    

    merge No usage example found for this symbol :( Collapse [-]
    minimumValue See 1 Occurences [+] Collapse [-]
    Found in Data.TDigest.Vector from the package tdigest
        --
        -- |
        --
        -- >>> let digest = foldl' (flip insert') mempty [0..1000] :: TDigest 5
        -- >>> (size digest, size $ compress digest)
        -- (1001,173)
        --
        -- >>> (quantile 0.1 digest, quantile 0.1 $ compress digest)
        -- (Just 99.6...,Just 99.6...)
        --
        compress,
        forceCompress,
    
        -- * Statistics
        minimumValue,
        maximumValue,
        -- ** Percentile
        median,
        quantile,
        -- ** Mean & Variance
    

    singleton See 1 Occurences [+] Collapse [-]
    Found in Data.TDigest.Vector from the package tdigest
    -- >>> let td' xs = tdigest (fairshuffle xs) :: TDigest 10
    --
    -- >>> median (td' [1..500] <> (td' [501..1000] <> td' [1001..1500]))
    -- Just 750.5
    --
    -- >>> median ((td' [1..500] <> td' [501..1000]) <> td' [1001..1500])
    -- Just 750.5
    --
    module Data.TDigest.Vector (
        -- * Construction
        TDigest,
        tdigest,
    
        -- ** Population
        singleton,
        insert,
        insert',
    
        -- * Compression
        --
    

    size See 1 Occurences [+] Collapse [-]
    Found in Data.TDigest.Vector from the package tdigest
        -- ** Mean & Variance
        --
        -- |
        --
        -- >>> stddev (tdigest $ fairshuffle [0..100] :: TDigest 10)
        -- Just 29.0...
        mean,
        variance,
        stddev,
        -- ** CDF
        cdf,
        icdf,
    
        -- * Debug
        size,
        valid,
        validate,
        ) where
    
    import Data.TDigest.Vector.Internal
    

    sizeCoefficient No usage example found for this symbol :( Collapse [-]
    tdigest See 1 Occurences [+] Collapse [-]
    Found in Data.TDigest.Vector from the package tdigest
    --
    -- The linear is worst-case scenario:
    --
    -- >>> let td' xs = tdigest (fairshuffle xs) :: TDigest 10
    --
    -- >>> median (td' [1..500] <> (td' [501..1000] <> td' [1001..1500]))
    -- Just 750.5
    --
    -- >>> median ((td' [1..500] <> td' [501..1000]) <> td' [1001..1500])
    -- Just 750.5
    --
    module Data.TDigest.Vector (
        -- * Construction
        TDigest,
        tdigest,
    
        -- ** Population
        singleton,
        insert,
        insert',
    

    totalWeight No usage example found for this symbol :( Collapse [-]
    valid See 1 Occurences [+] Collapse [-]
    Found in Data.TDigest.Vector from the package tdigest
        --
        -- |
        --
        -- >>> stddev (tdigest $ fairshuffle [0..100] :: TDigest 10)
        -- Just 29.0...
        mean,
        variance,
        stddev,
        -- ** CDF
        cdf,
        icdf,
    
        -- * Debug
        size,
        valid,
        validate,
        ) where
    
    import Data.TDigest.Vector.Internal
    import Data.TDigest.Vector.Postprocess
    

    validate See 1 Occurences [+] Collapse [-]
    Found in Data.TDigest.Vector from the package tdigest
        -- |
        --
        -- >>> stddev (tdigest $ fairshuffle [0..100] :: TDigest 10)
        -- Just 29.0...
        mean,
        variance,
        stddev,
        -- ** CDF
        cdf,
        icdf,
    
        -- * Debug
        size,
        valid,
        validate,
        ) where
    
    import Data.TDigest.Vector.Internal
    import Data.TDigest.Vector.Postprocess
    

    TDigest No usage example found for this symbol :( Collapse [-]