Bio-Phylo-Beagle
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Bio/Phylo/Beagle.pm view on Meta::CPAN
Title : update_transition_matrices
Usage : $beagle->update_transition_matrices( %args )
Function: Calculate a list of transition probability matrices
Returns : error code
Args : -index => Optional: Index of eigen-decomposition buffer
-deriv1 => Optional: List of indices of first derivative matrices to update
-deriv2 => Optional: List of indices of second derivative matrices to update
=cut
sub update_transition_matrices {
$logger->info("@_");
my $self = shift;
my %args = looks_like_hash @_;
# create node and edge arrays
my $tree = $self->get_tree;
my ( @nodeIndices, @edgeLengths );
my $nodeIndex = 0;
$tree->visit_depth_first(
'-post' => sub {
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.698 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )