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

group -- the group of a Model

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:

  • group(Model)

For the programmer

The object group is a method function.


The source of this document is in /build/reproducible-path/macaulay2-1.25.06+ds/M2/Macaulay2/packages/PhylogeneticTrees.m2:1612:0.