Gauss-Jordan matrix inversion: Difference between revisions

m
Line 1,309:
s = x
}
}
if a[iMax][k]s == 0 {
panic("Irregular matrix")
}
// scale the abs used to pick the pivot.
Line 1,315 ⟶ 1,318:
max = abs
}
}
if a[iMax][k] == 0 {
panic("Irregular matrix")
}
if k != iMax {
678

edits