Permalink
Commits on Dec 13, 2011
  1. doc: add some basic usage examples

    committed Nov 23, 2011
  2. @bos

    Merge pull request #6 from Shimuuar/master

    Drastic performance improvment for uniformR
    bos committed Dec 13, 2011
Commits on Sep 30, 2011
  1. @Shimuuar
Commits on Sep 29, 2011
  1. @Shimuuar

    20-40x performance improvements for uniformR for integral times

    It looks like GHC fails to specialize uniformRange despite INLINE
    pragma. This results in horrible 20-40x slowdown. Adding
    SPECIALIZE pragma fixes that
    
    Also accept ranges (a,b) where a<b. It doesn't produce any
    measurable slowdown.
    
    fixes #4.
    Aleksey committed with Shimuuar Sep 28, 2011
Commits on Sep 28, 2011
  1. @Shimuuar

    Add uniformR to benchmarks

    Shimuuar committed Sep 26, 2011
  2. @bos

    Update some docs.

    bos committed Sep 28, 2011
  3. @bos

    Merge pull request #5 from Shimuuar/unbox

    Remove Unbox constraint from Variate type class
    bos committed Sep 28, 2011
Commits on Sep 26, 2011
  1. @Shimuuar
  2. @Shimuuar

    Remove Unbox superclass constraint from Variate type class

    It's not used anywhere and in fact harmful since data types
    which aren't instances of Unbox couldn't be instances of
    Variate which doesn't really make sense.
    
    On GHC6.12 removal of Unbox contraint decreased performance
    significantly ~10x
    
    With GHC7.0 performance in fact slightly improves ~0-25% on
    64bit and <10% for 32bit (It's swamped by slow 64 arithmetics)
    Shimuuar committed Sep 26, 2011
Commits on Sep 20, 2011
  1. @bos
Commits on Sep 8, 2011
  1. @Shimuuar

    Run more QC test (10^5 for each test case)

    Also use random seed instad of constant one
    Shimuuar committed Sep 8, 2011
  2. @Shimuuar

    Document dieharder tests

    Shimuuar committed Sep 8, 2011
Commits on Aug 26, 2011
  1. @Shimuuar
Commits on Aug 24, 2011
  1. @Shimuuar

    QC

    Shimuuar committed Aug 13, 2011
  2. @Shimuuar

    Add diehard test

    Shimuuar committed Aug 13, 2011
Commits on Aug 22, 2011
  1. @bos
  2. @bos

    Bump version

    bos committed Aug 22, 2011
  3. @bos

    Fix spelling

    bos committed Aug 22, 2011
Commits on Aug 14, 2011
  1. @Shimuuar

    Variate do not have instance for Integer. Remove its description

    from documentation
    Shimuuar committed Aug 14, 2011
  2. @Shimuuar

    Catch exceptions only during seed aquisition.

    It fixes nasty bug in withSystemRandom. If action passed by user
    throws IO exception it will be catched and action will be
    executed second time.
    Shimuuar committed Aug 13, 2011
Commits on Aug 7, 2011
  1. @bos
  2. @bos
Commits on Jul 24, 2011
  1. @Shimuuar

    Update comment again

    Shimuuar committed Jul 24, 2011
  2. @Shimuuar

    Update comment

    Shimuuar committed Jul 24, 2011
Commits on Jul 23, 2011
  1. @Shimuuar

    merge

    Shimuuar committed Jul 23, 2011
  2. @Shimuuar
  3. @Shimuuar

    Update comment

    Shimuuar committed Jul 23, 2011
  4. @Shimuuar

    Change initialize so it will try to get index and generator state

    from the seed. It's to ensure that gen' = gen
    
    gen' <- initialize . fromSeed =<< save gen
    Shimuuar committed Jul 23, 2011
  5. @Shimuuar

    Add accessor to Seed to export currect state of generator as

    vector so it could be serialized etc.
    Shimuuar committed Jul 23, 2011
  6. @Shimuuar
  7. @Shimuuar

    Use generateM for the uniformVector.

    As additional benefit it becomes fusible
    Shimuuar committed Jul 23, 2011
Commits on Jul 22, 2011
  1. @bos
  2. @bos

    Tidy up

    bos committed Jul 22, 2011
  3. @bos

    Bump version

    bos committed Jul 22, 2011