next | previous | forward | backward | up | top | index | toc | Macaulay2 website
PhylogeneticTrees :: group

group -- the group of a Model

Synopsis

Description

Every group-based phyogenetic 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.