lgeMatrix-class            package:Matrix            R Documentation

_C_l_a_s_s "_l_g_e_M_a_t_r_i_x" _o_f _G_e_n_e_r_a_l _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:

     This is the class of general dense 'logical' matrices.

_S_l_o_t_s:


     '_x': Object of class '"logical"'. The logical values that
          constitute the matrix, stored in column-major order.

     '_D_i_m','_D_i_m_n_a_m_e_s': The dimension (a length-2 '"integer"') and
          corresponding names (or 'NULL'), see the 'Matrix' class.

     '_f_a_c_t_o_r_s': Object of class '"list"'.  A named list of
          factorizations that have been computed for the matrix.

_E_x_t_e_n_d_s:

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

_M_e_t_h_o_d_s:

     Currently, mainly 't()' and coercion methods (for 'as(.)'); use,
     e.g., 'showMethods(class="lgeMatrix")' for details.

_S_e_e _A_l_s_o:

     Non-general logical dense matrix classes such as 'ltrMatrix', or
     'lsyMatrix'; _sparse_ logical classes such as 'lgCMatrix'.

_E_x_a_m_p_l_e_s:

     showClass("lgeMatrix")
     str(new("lgeMatrix"))
     set.seed(1)
     (lM <- Matrix(matrix(rnorm(28), 4,7) > 0))# a simple random lgeMatrix
     set.seed(11)
     (lC <- Matrix(matrix(rnorm(28), 4,7) > 0))# a simple random lgCMatrix
     as(lM, "lgCMatrix")

