Macaulay2 » Documentation
Packages » Topcom :: naiveChirotopeString(Matrix)
next | previous | forward | backward | up | index | toc

naiveChirotopeString(Matrix) -- compute the chirotope string of a point or vector configuration

Synopsis

Description

This is a simple function written in Macaulay2 to generate the same output as chirotopeString(Matrix). However, it is much slower. But we wrote it to make sure we know what order Topcom is generating the determinants.

i1 : A = matrix {
         {0, -1, 2, 3, 4, -5, 6},
         {0, 1, -4, 9, 16, 25, 36},
         {0, 1, 8, -27, 64, 125, -216}}

o1 = | 0 -1 2  3   4  -5  6    |
     | 0 1  -4 9   16 25  36   |
     | 0 1  8  -27 64 125 -216 |

              3       7
o1 : Matrix ZZ  <-- ZZ
i2 : om = naiveChirotopeString A

o2 = 7,4:
     ---0++-+----+-++++++--+-+++++++-+++
i3 : om == chirotopeString A

o3 = true

See also

Ways to use this method: