Macaulay2 » Documentation
Packages » MatrixSchubert :: isASM
next | previous | forward | backward | up | index | toc

isASM -- whether a matrix is an ASM

Synopsis

Description

Returns true if the given matrix is an ASM, and false otherwise.

i1 : M = matrix{{0, 0, 1, 0}, {1, 0, 0, 0}, {0, 1, -1, 1}, {0, 0, 1, 0}}

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

              4       4
o1 : Matrix ZZ  <-- ZZ
i2 : isASM M

o2 = true

Ways to use isASM :

For the programmer

The object isASM is a method function.