File: changelog.md

package info (click to toggle)
haskell-mwc-random 0.15.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 388 kB
  • sloc: haskell: 1,333; makefile: 2
file content (119 lines) | stat: -rw-r--r-- 2,925 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
## Changes in 0.15.1.0

  * Additon of binomial sampler using the rejection sampling method in
    Kachitvichyanukul, V. and Schmeiser, B. W.  Binomial Random
    Variate Generation.  Communications of the ACM, 31, 2 (February,
    1988) 216. <https://dl.acm.org/doi/pdf/10.1145/42372.42381>. A more
    efficient basis for e.g. the beta binomial distribution:
	`beta a b g >>= \p -> binomial n p g`.

## Changes in 0.15.0.2

  * Doctests on 32-bit platforms are fixed. (#79)


## Changes in 0.15.0.1

  * Bug in generation of Int/Word in both uniform and uniformR is fixed. (#75)


## Changes in 0.15.0.0

  * `withSystemRandomST` and `createSystemSeed` are added.

  * `withSystemRandom` is deprecated.

  * `random>=1.2` is dependency of `mwc-random`.

  * Instances for type classes `StatefulGen` & `FrozenGen` defined in random-1.2
    are added for `Gen`.

  * Functions in `System.Random.MWC.Distributions` and
    `System.Random.MWC.CondensedTable` now work with arbitrary `StatefulGen`

  * `System.Random.MWC.uniformVector` now works with arbitrary `StatefulGen` as
    well and uses in-place initialization instead of `generateM`. It should be
    faster for anything but IO and ST (those shoud remain same).


## Changes in 0.14.0.0

  * Low level functions for acquiring random data for initialization
    of PRGN state is moved to `System.Random.MWC.SeedSource` module

  * Ensure that carry is always correct when restoring PRNG state from
    seed. Only affects users who create 258 element seed manually.
    (#63, #65)


## Changes in 0.13.6.0

  * `tablePoisson` now can handle λ>1923, see #59 for details.
    That required intoduction of dependency on math-functions.


## Changes in 0.13.5.0

  * `logCategorical` added

## Changes in 0.13.4.0

  * `withSystemRandom` uses RtlGenRandom for seeding generator on windows


## Changes in 0.13.3.1

  * primitive-0.6 compatibility


## Changes in 0.13.3.0

  * Monadic variant of vector shuffle added: `uniformShuffleM`

  * Context on `uniformShuffle` loosened


## Changes in 0.13.2.2

  * Fixed crash during gen. initialization on Windows when stderr
    is not available (#36).

## Changes in 0.13.2.0

  * Generators for beta, Bernoully, Dirichlet and categorical distributions
    added.

  * Functions for generating random shuffles added.


## Changes in 0.13.1.2

  * GHC 7.9 support


## Changes in 0.13.1.1

  * Long standing performance problem in normal distribution fixed (#16)


## Changes in 0.13.1.0

  * `createSystemRandom` added


## Changes in 0.13.0.0

  * Workaround for GHC bug 8072 (bug 25). GHC 7.6 on 32-bit platrofms is
    affected.

  * Generators for truncated exponential and geometric distributions
    added.


## Changes in 0.12.0.0

  * Fucntion `asGenIO` and `asGenST` added.

  * Generation of discrete random variates using condensed tables
    methed. Tables for Poisson and binomial distributions are
    provided.