pivot INDEX

PIVOT _ _ _ _ _ _ _ _ _ _ _ _ operator

syntax:

pivot(<matrix>,<r>,<c>)

<matrix> :- a matrix.

<r>,<c> :- positive integers such that <matrix>(<r>, <c>) neq 0.

pivotpivots <matrix> about it's (<r>,<c>)'th entry.

To do this, multiples of the <r>'th row are added to every other row in the matrix.

This means that the <c>'th column will be 0 except for the (<r>,<c>)'th entry.

examples:



pivot(A,2,3); 

  [      - 1    ]
  [-1  ------  0]
  [      2      ]
  [             ]
  [4     5     6]
  [             ]
  [      1      ]
  [1    ---    0]
  [      2      ]

Related functions: rows_pivot.