One step of Gauss-Jordan elimination involves taking a non-zero element of a matrix (the pivot) and adding multiples of its row to the other rows to get zeros above and below the pivot. The pivot command performs this operation.
Examples.
⎡ ⎢ ⎢ ⎣ |
| ⎤ ⎥ ⎥ ⎦ |
⎡ ⎢ ⎢ ⎣ |
| ⎤ ⎥ ⎥ ⎦ |