Bio::Phylo::Util::Math - Utility math functions
Calculation of n choose j. This version saves partial results for use later.
Type : Exported function Title : nchoose_static Usage : $c = nchoose_static( $n, $j ) Function: Calculation of n choose j. Returns : n-choose Args : $n, $j
Calculation of n choose j. Dynamic version.
Type : Exported function Title : nchoose Usage : $c = nchoose( $n, $j ) Function: Calculation of n choose j. Returns : n-choose Args : $n, $j
Greatest common denominator - assumes positive integers as input
Type : Exported function Title : gcd Usage : $gcd = gcd( $n, $m ) Function: Greatest common denominator Returns : $gcd Args : $n, $m
Takes two large integers and attempts to divide them and give the float answer without overflowing
Type : Exported function Title : gcd_divide Usage : $gcd = gcd_divide( $n, $m ) Function: Greatest common denominator Returns : $gcd Args : $n, $m
There is a mailing list at https://groups.google.com/forum/#!forum/bio-phylo for any user or developer questions and discussions.
Also see the manual: Bio::Phylo::Manual and http://rutgervos.blogspot.com.
If you use Bio::Phylo in published research, please cite it:
Rutger A Vos, Jason Caravas, Klaas Hartmann, Mark A Jensen and Chase Miller, 2011. Bio::Phylo - phyloinformatic analysis using Perl. BMC Bioinformatics 12:63. http://dx.doi.org/10.1186/1471-2105-12-63
To install Bio::Phylo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bio::Phylo
CPAN shell
perl -MCPAN -e shell install Bio::Phylo
For more information on module installation, please visit the detailed CPAN module installation guide.