UnitGaussianEliminationΒΆ
smith2.spad line 1 [edit on github]
Gaussian elimination using only 1 or -1
as pivots
- pre_gauss: Matrix Integer -> Matrix Integer
pre_gauss(m)
performs Gaussian eliminaton on rows ofm
using only 1 and-1
as pivots. Note:m
is modified in place