| Summary | Included libraries | Package variables | Synopsis | Description | General documentation | Methods |
| Summary | Top |
| Clair::RandomDistribution::Poisson |
| Package variables | Top |
| No package variables defined. |
| Included modules | Top |
| Carp |
| Clair::RandomDistribution::RandomDistributionBase |
| Inherit | Top |
| Clair::RandomDistribution::RandomDistributionBase |
| Synopsis | Top |
| my $z = Clair::RandomDistribution::Poisson->new(lambda => 5, dist_size => 50); |
| Description | Top |
| Concrete class representing a Poisson distributions. |
| Methods | Top |
| dist_function | Description | Code |
| new | No description | Code |
| dist_function | code | next | Top |
| Takes a random variable |
| dist_function | description | prev | next | Top |
sub dist_function
{ my $self = shift;
return (($self->{lambda} ** $_[0]) * exp (-$self->{lambda})) /} |
| new | description | prev | next | Top |
sub new
{my $class = shift; my %params = @_; # We require a lambda parameter (a positive real number, equal to} |