

swp(timeslab)                                R Documentation

_S_w_e_e_p _a _M_a_t_r_i_x

_D_e_s_c_r_i_p_t_i_o_n_:

     Sweep a Matrix

_U_s_a_g_e_:

     swp(a,k1,k2)

_A_r_g_u_m_e_n_t_s_:

       a: The matrix to be swept.

   k1,k2: {`a'} is swept on the diagonals {`k1'} through
          {`k2'}.

_V_a_l_u_e_:

        : `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).

