1Math::Random::ISAAC::PPU(s3e)r Contributed Perl DocumentaMtaitohn::Random::ISAAC::PP(3)
2
3
4

NAME

6       Math::Random::ISAAC::PP - Pure Perl port of the ISAAC PRNG algorithm
7

VERSION

9       version 1.004
10

SYNOPSIS

12       This module implements the same interface as "Math::Random::ISAAC" and
13       can be used as a drop-in replacement. However, it is recommended that
14       you let the "Math::Random::ISAAC" module decide whether to use the
15       PurePerl or XS version of this module, instead of choosing manually.
16
17       Selecting the backend to use manually really only has two uses:
18
19       ·   If you are trying to avoid the small overhead incurred with
20           dispatching method calls to the appropriate backend modules.
21
22       ·   If you are testing the module for performance and wish to
23           explicitly decide which module you would like to use.
24
25       Example code:
26
27         # With Math::Random::ISAAC
28         my $rng = Math::Random::ISAAC->new(time);
29         my $rand = $rng->rand();
30
31         # With Math::Random::ISAAC::PP
32         my $rng = Math::Random::ISAAC::PP->new(time);
33         my $rand = $rng->rand();
34

DESCRIPTION

36       See Math::Random::ISAAC for the full description.
37

METHODS

39   new
40         Math::Random::ISAAC::PP->new( @seeds )
41
42       Implements the interface as specified in "Math::Random::ISAAC"
43
44   rand
45         $rng->rand()
46
47       Implements the interface as specified in "Math::Random::ISAAC"
48
49   irand
50         $rng->irand()
51
52       Implements the interface as specified in "Math::Random::ISAAC"
53

SEE ALSO

55       Math::Random::ISAAC
56

BUGS

58       Please report any bugs or feature requests on the bugtracker website
59       http://rt.cpan.org/NoAuth/Bugs.html?Dist=Math-Random-ISAAC
60
61       When submitting a bug or request, please include a test-file or a patch
62       to an existing test-file that illustrates the bug or desired feature.
63

AUTHOR

65       Jonathan Yu <jawnsy@cpan.org>
66
68       Legally speaking, this package and its contents are:
69
70         Copyright (c) 2011 by Jonathan Yu <jawnsy@cpan.org>.
71
72       But this is really just a legal technicality that allows the author to
73       offer this package under the public domain and also a variety of
74       licensing options. For all intents and purposes, this is public domain
75       software, which means you can do whatever you want with it.
76
77       The software is provided "AS IS", without warranty of any kind, express
78       or implied, including but not limited to the warranties of
79       merchantability, fitness for a particular purpose and noninfringement.
80       In no event shall the authors or copyright holders be liable for any
81       claim, damages or other liability, whether in an action of contract,
82       tort or otherwise, arising from, out of or in connection with the
83       software or the use or other dealings in the software.
84
85
86
87perl v5.32.0                      2020-07-28        Math::Random::ISAAC::PP(3)
Impressum