logfloat: Log-domain floating point numbers

[ bsd3, data, library, math, natural-language-processing, statistics ] [ Propose Tags ]

This module presents a type for storing numbers in the log-domain. The main reason for doing this is to prevent underflow when multiplying many probabilities as is done in Hidden Markov Models. It is also helpful for preventing overflow.

Versions [faq] 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.8.5, 0.8.6, 0.9.0, 0.9.1, 0.9.1.1, 0.9.1.2, 0.9.1.3, 0.10.0, 0.11.0, 0.11.0.1, 0.11.1, 0.12, 0.12.0.1, 0.12.1, 0.13.0.1, 0.13.1, 0.13.2, 0.13.3, 0.13.3.1, 0.13.3.2, 0.13.3.3
Dependencies array, base (==4.*) [details]
License BSD-3-Clause
Copyright Copyright (c) 2007--2015 wren gayle romano
Author wren gayle romano
Maintainer wren@community.haskell.org
Category Data, Math, Natural Language Processing, Statistics
Home page http://code.haskell.org/~wren/
Source repo head: darcs get http://community.haskell.org/~wren/logfloat
Uploaded by WrenThornton at Tue Mar 24 04:53:23 UTC 2015
Distributions LTSHaskell:0.13.3.3, NixOS:0.13.3.3, Stackage:0.13.3.3
Downloads 14528 total (441 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2015-03-24 [all 1 reports]

Modules

[Index]

Flags

NameDescriptionDefaultType
useffi

Use FFI to link C's log1p. Improves accuracy and same performance. Disable only if your compiler doesn't support FFI.

EnabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees