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

padASM -- pad an ASM with an identity matrix

Synopsis

Description

Given an alternating sign matrix, pads the ASM pads an ASM with a block of an $n\times n$ identity matrix to the bottom right of the original ASM.

i1 : A = matrix{{0, 0, 1, 0}, {1, 0, 0, 0}, {0, 1, -1, 1}, {0, 0, 1, 0}};

              4       4
o1 : Matrix ZZ  <-- ZZ
i2 : padASM(A,3)

o2 = | 0 0 1  0 0 0 0 |
     | 1 0 0  0 0 0 0 |
     | 0 1 -1 1 0 0 0 |
     | 0 0 1  0 0 0 0 |
     | 0 0 0  0 1 0 0 |
     | 0 0 0  0 0 1 0 |
     | 0 0 0  0 0 0 1 |

              7       7
o2 : Matrix ZZ  <-- ZZ

Ways to use padASM :

For the programmer

The object padASM is a method function.