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"

