~ubuntu-branches/ubuntu/trusty/bioperl/trusty-proposed

« back to all changes in this revision

Viewing changes to Bio/Tools/RandomDistFunctions.pm

  • Committer: Bazaar Package Importer
  • Author(s): Charles Plessy
  • Date: 2011-06-17 13:51:18 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20110617135118-xgpxhaanue57cwqs
Tags: 1.6.901-1
* New upstream release.
* Point debian/watch to search.cpan.org.
* Build using dh and overrides:
  - Use Debhelper 8 (debian/rules, debian/control).
  - Simplified debian/rules.
* Split into libbio-perl-perl, as discussed with the Debian Perl team.
  (debian/control, debian/bioperl.install, debian libbio-perl-perl.install)
* debian/control:
  - Incremented Standards-Version to reflect conformance with Policy 3.9.2.
    No other changes needed.
  - Vcs-Browser URL made redirectable to viewvc.
  - Removed useless ‘svn’ in the Vcs-Svn URL.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# $Id: RandomDistFunctions.pm 16123 2009-09-17 12:57:27Z cjfields $
2
1
#
3
2
# BioPerl module for Bio::Tools::RandomDistFunctions
4
3
#
63
62
of the bugs and their resolution. Bug reports can be submitted via the
64
63
web:
65
64
 
66
 
  http://bugzilla.open-bio.org/
 
65
  https://redmine.open-bio.org/projects/bioperl/
67
66
 
68
67
=head1 AUTHOR - Jason Stajich
69
68
 
128
127
 Title   : rand_geometric_distribution
129
128
 Usage   : my $randvar = $dist->rand_geometric_distribution($param);
130
129
 Function: Returns a random geometric variate distributed with 
131
 
           paramater $param, according to
 
130
           parameter $param, according to
132
131
           c.d.f. 1 - ( 1- param) ^ n 
133
132
 Returns : integer
134
133
 Args    : $param ( 0 > $param < 1 )