statistics icon indicating copy to clipboard operation
statistics copied to clipboard

Consider using log-domain to type distinguish log-probabilities

Open rpglover64 opened this issue 10 years ago • 2 comments

The log-domain package provides a newtype wrapper and a Num instance for numbers represented by their logarithms. statistics currently provides no type distinction between the output of e.g. probability and logProbability.

Related: #41

rpglover64 avatar Aug 17 '15 14:08 rpglover64

Instead of log-domain, there's also logfloat, with fewer dependencies.

rpglover64 avatar Aug 19 '15 20:08 rpglover64

This is actually good idea

Shimuuar avatar Aug 27 '15 15:08 Shimuuar