next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
PhylogeneticTrees :: phyloToricAMatrix

phyloToricAMatrix -- Constructs the A matrix whose columns parametrize the toric variety of the tree T with n leaves

Synopsis

Description

i1 : phyloToricAMatrix(4, {{1, 2}},CFNmodel)

o1 = | 1 0 0 1 1 0 0 1 |
     | 0 1 1 0 0 1 1 0 |
     | 1 1 1 1 0 0 0 0 |
     | 0 0 0 0 1 1 1 1 |
     | 1 1 0 0 1 1 0 0 |
     | 0 0 1 1 0 0 1 1 |
     | 1 0 1 0 1 0 1 0 |
     | 0 1 0 1 0 1 0 1 |
     | 1 0 0 1 0 1 1 0 |
     | 0 1 1 0 1 0 0 1 |

              10        8
o1 : Matrix ZZ   <--- ZZ

Ways to use phyloToricAMatrix :