Math::Random::MT::Auto 5.04 |
Date Added: June 26, 2010 | Visits: 306 |
|
||||||||
|
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..
|
| License: Freeware | Size: 122.88 KB |
|
Libraries
-
Bio::NEXUS 0.66
Bio::NEXUS is a Perl module providing an object-oriented, Perl-based applications programming interface (API). NEXUS is a powerful and extensible format designed for use in evolutionary analysis, including the analysis of molecular sequence data... |
153.6 KB | |
|
Programming
-
Curl Advanced UI 0.7
Curl Advanced UI libraries - Advanced User Interface libraries provide components necessary for creating rich user interface applications easily. Please see the detail info in Wiki page. |
1.75 MB | |
|
Libraries
-
GToolKit 0.9.5
GToolKit project is a (relatively) small library that implements a simple and easy to use Objective-C interface to the GTK+ widget set. GTK+, which stands for The Gimp Toolkit, is a library for creating graphical user interfaces for the X Window... |
378.88 KB | |
|
Libraries
-
Q-Audio 2.3
Q-Audio is a digital audio interface for Q. Q-Audio project contains three modules which together provide the basic functionality needed to write digital audio applications. The audio module implements a (nearly) real-time audio interface on top... |
100.35 KB | |
|
Libraries
-
OzDB 0.02
OzDB is a database Perl interface module for OzBot. SYNOPSIS use OzDB; The OzDB Perl module handles authentication and access control for the OzBot based utility bots. The basic database format is the authentication schema. This is based on... |
12.29 KB | |
|
Libraries
-
Callback 1.07
Callback is an object interface for function callbacks. SYNOPSIS use Callback; my $callback = new Callback (&myfunc, @myargs); my $callback = new Callback ($myobj, $mymethod, @myargs); my $callback = new Callback ($old_callback, @myargs);... |
4.1 KB | |
|
Libraries
-
Libtool 1.5.24
GNU libtool is a generic library support script. Libtool library hides the complexity of using shared and static libraries behind a consistent, portable interface. Libtool supports building static libraries on all platforms. In the past, if a... |
2.7 MB | |
|
Libraries
-
FireMIME 0.9.4
FireMIME is a library providing an easy to use, callback-based interface for parsing MIME-encoded messages. It parses messages in accordance with RFC2045 and RFC2046, attempting to follow all rules set out in those documents while still allowing... |
40.96 KB | |
|
Libraries
-
WebService::Kizasi 0.1.0
WebService::Kizasi is a Perl Interface for the Kizasi Web Services. SYNOPSIS use WebService::Kizasi; use Encode qw(_utf8_off); my $kizapi = WebService::Kizasi->new(); my @result; $result[0] = $kizapi->c10e_word_1d(CPAN); $result[1] =... |
12.29 KB | |
|
Libraries
-
RFuse 0.1
RFUSE implements a ruby interface for FUSE. So you can implement a Filesystem in Ruby. Most of the callbacks FUSE provide are implemented. The only drawback is the lack of a multithreaded mainloop. Whats New in This Release: - This release... |
20.48 KB |
|
Programming
-
RailsTidy 0.1
RailsTidy project is a plugin for Ruby On Rails.. |
11.26 KB | |
|
Programming
-
Strings edit 1.9
Strings edit is a library that provides I/O facilities for integer, floating-point, Roman numbers, and strings. Both input and output subroutines support string pointers for consequent stream processing. The output can be aligned in a fixed size... |
54.27 KB | |
|
Programming
-
BScript 0.3
BScript is a (yet another) BASIC interpreter. It is free software and open-sourced, licensed under the terms of the GNU General Public License version 2 or later. You can use BScript to teach BASIC to your students, write understandable shell... |
112.64 KB | |
|
Programming
-
Kits JavaScript Brainf*ck Interpreter 0.01
Kits JavaScript Brainf*ck Interpreter is a rather fast interpreter for the Brainf*ck esoteric programming language.. Kit's JavaScript Brainfuck Interpreter v0.01 |
5.12 KB | |
|
Programming
-
dis6502 0.12
dis6502 is a flow-tracing disassembler for the 6502, originally written by Robert Bond and supporting Atari binary files. Robert posted dis6502 to the Usenet newsgroup net.sources on 9-Oct-1986, and to comp.sources.unix 7-Jun-1988. Udi... |
19.46 KB | |
|
Libraries
-
Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;... |
8.19 KB | |
|
Libraries
-
sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also... |
10.24 KB | |
|
Libraries
-
App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>... |
54.27 KB | |
|
Libraries
-
PDL::Graphics::TriD 2.4.3
PDL::Graphics::TriD is a PDL 3D interface. SYNOPSIS use PDL::Graphics::TriD; # After each graph, let the user rotate is and # wait for him to press q, then make new graph line3d($coords); # $coords = (3,n,...) line3d($coords,$colors); #... |
2.1 MB | |
|
Libraries
-
SmartColorWell 1.2
SmartColorWell is a cross-platform open-source ColorWell class for REALbasic 4 or greater. The SmartColorWell control stores a color value and displays that color in a simulated BevelButton that when pressed allows the user to change the color... |
21.5 KB |
