ndenseMatrix-class          package:Matrix          R Documentation

_V_i_r_t_u_a_l _C_l_a_s_s "_n_d_e_n_s_e_M_a_t_r_i_x" _o_f _D_e_n_s_e _L_o_g_i_c_a_l _M_a_t_r_i_c_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     'ndenseMatrix' is the virtual class of all dense *l*ogical (S4)
     matrices.  It extends both 'denseMatrix' and 'lMatrix' directly.

_S_l_o_t_s:


     '_x': logical vector containing the entries of the matrix.

     '_D_i_m', '_D_i_m_n_a_m_e_s': see 'Matrix'.

_E_x_t_e_n_d_s:

     Class '"lMatrix"', directly. Class '"denseMatrix"', directly.
     Class '"Matrix"', by class '"lMatrix"'. Class '"Matrix"', by class
     '"denseMatrix"'.

_M_e_t_h_o_d_s:


     %*% 'signature(x = "nsparseMatrix", y = "ndenseMatrix")': ... 

     %*% 'signature(x = "ndenseMatrix", y = "nsparseMatrix")': ... 

     _c_o_e_r_c_e 'signature(from = "matrix", to = "ndenseMatrix")': ... 

     _c_o_e_r_c_e 'signature(from = "ndenseMatrix", to = "matrix")': ... 

     _c_r_o_s_s_p_r_o_d 'signature(x = "nsparseMatrix", y = "ndenseMatrix")':
          ... 

     _c_r_o_s_s_p_r_o_d 'signature(x = "ndenseMatrix", y = "nsparseMatrix")':
          ... 

     _a_s._v_e_c_t_o_r 'signature(x = "ndenseMatrix", mode = "missing")': ...

     _d_i_a_g 'signature(x = "ndenseMatrix")': extracts the diagonal as for
          all matrices, see the generic 'diag()'.

_S_e_e _A_l_s_o:

     Class 'ngeMatrix' and the other subclasses.

_E_x_a_m_p_l_e_s:

     showClass("ndenseMatrix")

     as(diag(3) > 0, "ndenseMatrix")# -> "nge"

