AminetAminet
Search:
84672 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/gcc/rngstreams.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:uniform random number generator
Author:Pierre L'Ecuyer & Richard Simard
Uploader:Carsten Larsen (carsten larsen mail com)
Type:dev/gcc
Version:1.01
Architecture:m68k-amigaos
Date:2016-10-27
Download:http://aminet.net/dev/gcc/rngstreams.lha - View contents
Readme:http://aminet.net/dev/gcc/rngstreams.readme
Downloads:826

RngStreams is a C implementation of a high-quality uniform random number
generator that supports multiple "independent" streams of uniform random
numbers.

The RngStreams library is written by Pierre L'Ecuyer and Richard Simard.


Example of usage
----------------

#include <stdio.h>
#include "RngStream.h"

int main (void)
{
    double x;
    int  i;
    RngStream gen;

    /* get a stream */
    gen = RngStream_CreateStream ("generator_1");

    /* sample from generator */
    for (i=0; i<10; i++) {
       x = RngStream_RandU01 (gen);
       printf ("%f\n", x );
    }

    return 0;
}


Contents of dev/gcc/rngstreams.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                 1706    1906  89.5% -lh5- 04af Oct 27 20:27 rngstreams.info
[unknown]                  207     276  75.0% -lh5- 658b Sep 16  2006 rngstreams/AUTHORS
[unknown]                  662    1079  61.4% -lh5- 9c85 Oct 27 20:27 rngstreams/AUTHORS.info
[unknown]                 1694    1906  88.9% -lh5- c7da Oct 27 20:27 rngstreams/config.info
[unknown]                  699    2362  29.6% -lh5- b390 Oct 27 19:15 rngstreams/config/config.h
[unknown]                 7185   35667  20.1% -lh5- 8a54 Oct 27 20:03 rngstreams/config/config.log
[unknown]                12641   35147  36.0% -lh5- 7994 Jan  5  2009 rngstreams/COPYING
[unknown]                  662    1079  61.4% -lh5- 9bdf Oct 27 20:27 rngstreams/COPYING.info
[unknown]                 1696    1906  89.0% -lh5- 5a2f Oct 27 20:27 rngstreams/doc.info
[unknown]                 2736    7739  35.4% -lh5- 974f Jan  8  2009 rngstreams/doc/rngstreams
[unknown]                 1203    2846  42.3% -lh5- 2739 Oct 27 19:22 rngstreams/doc/rngstreams.html/Example.html
[unknown]                 1284    3827  33.6% -lh5- adc8 Oct 27 19:22 rngstreams/doc/rngstreams.html/index.html
[unknown]                 1473    3856  38.2% -lh5- a508 Oct 27 19:22 rngstreams/doc/rngstreams.html/Install.html
[unknown]                 3431   11454  30.0% -lh5- f8b2 Oct 27 19:22 rngstreams/doc/rngstreams.html/Interface.html
[unknown]                  968    1556  62.2% -lh5- a1ba Oct 27 20:11 rngstreams/doc/rngstreams.info
[unknown]               146208  146208 100.0% -lh0- 66ce Oct 27 19:22 rngstreams/doc/rngstreams.pdf
[unknown]                 1704    1906  89.4% -lh5- f6ae Oct 27 20:28 rngstreams/examples.info
[unknown]                11872   27404  43.3% -lh5- 9474 Oct 27 19:15 rngstreams/examples/example1
[unknown]                  583    1765  33.0% -lh5- 2743 Sep 16  2006 rngstreams/examples/example1.c
[unknown]                 1715    2001  85.7% -lh5- e408 Oct 27 20:28 rngstreams/examples/example1.c.info
[unknown]                 1051    1365  77.0% -lh5- 606e Oct 27 20:28 rngstreams/examples/example1.info
[unknown]                 1695    1906  88.9% -lh5- 665b Oct 27 20:27 rngstreams/include.info
[unknown]                  357    1038  34.4% -lh5- 7c9b Oct 27 19:22 rngstreams/include/RngStream.h
[unknown]                 1697    1906  89.0% -lh5- fbae Oct 27 20:27 rngstreams/lib.info
[unknown]                 4108   11032  37.2% -lh5- dae2 Oct 27 19:22 rngstreams/lib/librngstreams.a
[unknown]                  283     867  32.6% -lh5- d6c0 Sep 16  2006 rngstreams/README
[unknown]                 1289    1705  75.6% -lh5- c68d Oct 27 20:27 rngstreams/README.info
[unknown]                  444     824  53.9% -lh5- eb06 Oct 27 20:00 rngstreams/rngstreams.readme
[unknown]                 1289    1705  75.6% -lh5- 6ee0 Oct 27 20:27 rngstreams/rngstreams.readme.info
[unknown]                 3368   13706  24.6% -lh5- 2df4 Jan  8  2009 rngstreams/src/RngStream.c
[unknown]                  357    1038  34.4% -lh5- 7c9b Sep 16  2006 rngstreams/src/RngStream.h
[unknown]                 1704    1906  89.4% -lh5- 3fd4 Oct 27 20:27 rngstreams/tests.info
[unknown]                13136   31056  42.3% -lh5- 3f0f Oct 27 19:27 rngstreams/tests/test2RngStream
[unknown]                 1202    5025  23.9% -lh5- 2d64 Sep 16  2006 rngstreams/tests/test2RngStream.c
[unknown]                 1048    1357  77.2% -lh5- 71b4 Oct 27 20:19 rngstreams/tests/test2RngStream.info
[unknown]                12418   29204  42.5% -lh5- 6512 Oct 27 19:27 rngstreams/tests/testRngStream
[unknown]                  741    2854  26.0% -lh5- a799 Sep 16  2006 rngstreams/tests/testRngStream.c
[unknown]                 1053    1365  77.1% -lh5- 8746 Oct 27 20:19 rngstreams/tests/testRngStream.info
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total        38 files  247569  401749  61.6%            Oct 27 18:47

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>