NAME
Bio::Phylo::Util::Math - Utility math functions
EXPORTED FUNCTIONS
- nchoose_static
-
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
- nchoose
-
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
- gcd
-
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
- gcd_divide
-
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
SEE ALSO
There is a mailing list at https://groups.google.com/forum/#!forum/bio-phylo for any user or developer questions and discussions.
- Bio::Phylo::Manual
-
Also see the manual: Bio::Phylo::Manual and http://rutgervos.blogspot.com.
CITATION
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