Linux SoftwareProgrammingLibrariesMath::Random::MT::Auto 5.04

Math::Random::MT::Auto 5.04


Math::Random::MT::Auto is a Perl module for auto-seeded Mersenne Twister PRNGs. SYNOPSIS use strict; use warnings; use Mat
Developer:   Jerry D. Hedden
      more software by author →
Price:  0.00
License:   Perl Artistic License
File size:   122K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


Math::Random::MT::Auto is a Perl module for auto-seeded Mersenne Twister PRNGs.

SYNOPSIS

use strict;
use warnings;
use Math::Random::MT::Auto qw(rand irand shuffle gaussian),
'/dev/urandom' => 256,
'random_org';

# Functional interface
my $die_roll = 1 + int(rand(6));

my $coin_flip = (irand() & 1) ? 'heads' : 'tails';

my $deck = shuffle(1 .. 52);

my $rand_IQ = gaussian(15, 100);

# OO interface
my $prng = Math::Random::MT::Auto->new('SOURCE' => '/dev/random');

my $angle = $prng->rand(360);

my $decay_interval = $prng->exponential(12.4);

The Mersenne Twister is a fast pseudorandom number generator (PRNG) that is capable of providing large volumes (> 10^6004) of "high quality" pseudorandom data to applications that may exhaust available "truly" random data sources or system-provided PRNGs such as rand.
This module provides PRNGs that are based on the Mersenne Twister.

There is a functional interface to a single, standalone PRNG, and an OO interface (based on the inside-out object model as implemented by the Object::InsideOut module) for generating multiple PRNG objects. The PRNGs are self-seeding, automatically acquiring a (19968-bit) random seed from user-selectable sources.

Requirements:
  • Perl
    tags math random  mersenne twister  the mersenne  functional interface  module for  

    Download Math::Random::MT::Auto 5.04


     http://ftp.casaafacerilor.ro/mirrors/CPAN/authors/id/J/JD/JDHEDDEN/Math-Random-MT-Auto-5.04.tar.gz


    Authors software

    Similar software

    Math::Random::MT::Auto 5.04 (by Jerry D. Hedden)
    Math::Random::MT::Auto is a Perl module for auto-seeded Mersenne Twister PRNGs.

    SYNOPSIS

    use strict;
    use warnings;
    use Mat

    MersenneTwister 1.0 (by Rick Wagner)
    MersenneTwister is a C++ class for generating random numbers

    gjrand 1.1.0 (by G. Jones)
    gjrand is a programmer's library for pseudo-random numbers

    Coyotl 3.1.0 (by Scott Robert Ladd)
    The Coyotl library defies easy classification much like it's namesake

    HAVEGE 1.0 (by O. Rochecouste)
    HAVEGE (HArdware Volatile Entropy Gathering and Expansion) is a user-level software unpredictable random number generator for general

    Math::Pari 2.010706 (by Ilya Zakharevich)
    Math::Pari is a Perl interface to PARI.

    SYNOPSIS

    use Math::Pari;
    $a = PARI 2;
    print $a**10000;
    or
    use Math::Pari qw

    XMMS Real Random Plugin 0.3 (by Martin Oberzalek)
    XMMS Real Random plugin overrides the builtin shuffle mode and plays the titles in a more random way.

    The shuffle mode of xmms is

    mod_random 2.0 (by Brian Aker)
    Mod Random provides three services

    Math::BaseCnv 1.2.59M7mRX (by Pip Stuart)
    Math::BaseCnv is a fast functions to convert between number bases.

    SYNOPSIS

    use Math::BaseCnv;

    # Convert 63 from base-10

    Template::Tutorial 2.15 (by Andy Wardley)
    Template::Tutorial are template toolkit tutorials.

    This section includes tutorials on using the Template Toolkit


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags