Math-Random-AcceptReject
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Math/Random/AcceptReject.pm view on Meta::CPAN
pdf => $args{pdf},
cache => [],
};
if ($self->{xmin} >= $self->{xmax}) {
croak("'xmin' must be smaller than 'xmax'");
}
$self->{xdiff} = $self->{xmax} - $self->{xmin};
bless $self => $class;
return $self;
}
=head2 rand
Returns the next random number of PDF C<f(x)> as specified by the C<pdf>
parameter to C<new()>.
=cut
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.835 second using v1.00-cache-2.02-grep-82fe00e-cpan-a086c87fca4 )