swp(timeslab) | R Documentation |
Sweep a Matrix
swp(a,k1,k2)
a |
The matrix to be swept. |
k1,k2 |
{a } is swept on the diagonals {k1 } through
{k2 }. |
|
swp returns a list containing the following two items: |
A |
Matrix that results from sweeping {a }. |
ier |
Integer variable containing an indicator of whether or not a zero diagonal was encountered during the sweeping (0 means no, 1 means yes). |