next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Macaulay2Doc :: pivots(Matrix)

pivots(Matrix) -- list of pivot locations of a matrix

Synopsis

Description

i1 : f = matrix{{1,3,0,0,3,5,2,0,0},{0,0,0,1,3,6,7,8,0}}

o1 = | 1 3 0 0 3 5 2 0 0 |
     | 0 0 0 1 3 6 7 8 0 |

              2        9
o1 : Matrix ZZ  <--- ZZ
i2 : pivots f

o2 = {(0, 0), (0, 1), (1, 3), (1, 4), (1, 5), (1, 6), (1, 7)}

o2 : List

This function is used in the current implementation of the Smith normal form.

Caveat

Should be implemented in the engine.

See also