Macaulay2 » Documentation
Packages » PhylogeneticTrees :: group
next | previous | forward | backward | up | index | toc

group -- the group of a Model

Synopsis

Description

Every group-based phylogenetic model has a finite group associated to it. This function returns the group, represented as a list of elements.

i1 : M = K3Pmodel

o1 = Model{AList => HashTable{{0, 0} => {1, 0, 0, 0}}         }
                              {0, 1} => {0, 1, 0, 0}
                              {1, 0} => {0, 0, 1, 0}
                              {1, 1} => {0, 0, 0, 1}
           Automorphisms => HashTable{}
           Buckets => {{{0, 0}}, {{0, 1}}, {{1, 0}}, {{1, 1}}}
           Group => {{0, 0}, {0, 1}, {1, 0}, {1, 1}}

o1 : Model
i2 : G = group M

o2 = {{0, 0}, {0, 1}, {1, 0}, {1, 1}}

o2 : List

See also

Ways to use group :

For the programmer

The object group is a method function.