CsparseMatrix-class          package:Matrix          R Documentation

_C_l_a_s_s "_C_s_p_a_r_s_e_M_a_t_r_i_x" _o_f _S_p_a_r_s_e _M_a_t_r_i_c_e_s _i_n _C_o_l_u_m_n-_c_o_m_p_r_e_s_s_e_d _F_o_r_m

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

     The '"CsparseMatrix"' class is the virtual class of all sparse
     matrices coded in sorted compressed column-oriented form. Since it
     is a virtual class, no objects may be created from it.  See
     'showClass("CsparseMatrix")' for its subclasses.

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

     '_i': Object of class '"integer"' of length nnzero (number of
          non-zero elements).  These are the _0-based_ row numbers for
          each non-zero element in the matrix, i.e., 'i' must be in
          '0:(nrow(.)-1)'.

     '_p': Object of class '"integer"' for providing pointers, one for
          each column, to the initial (zero-based) index of elements in
          the column.  '.@p' is of length 'ncol(.) + 1', with 'p[1] ==
          0' and 'p[length(p)] == nnzero', such that in fact, 'diff(.@p
          + 1)' are the number of non-zero elements for each column.

     '_f_a_c_t_o_r_s', '_D_i_m', '_D_i_m_n_a_m_e_s': inherited from the superclass, see
          the 'sparseMatrix' class.

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

     Class '"sparseMatrix"', directly. Class '"Matrix"', by class
     '"sparseMatrix"'.

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

     _A_r_i_t_h 'signature(e1 = "CsparseMatrix", e2 = "numeric")': ... 

     _A_r_i_t_h 'signature(e1 = "numeric", e2 = "CsparseMatrix")': ... 

     _M_a_t_h 'signature(x = "CsparseMatrix")': ... 

     _b_a_n_d 'signature(x = "CsparseMatrix")': ... 

     - 'signature(e1 = "CsparseMatrix", e2 = "numeric")': ... 

     - 'signature(e1 = "numeric", e2 = "CsparseMatrix")': ... 

     [<- 'signature(x = "CsparseMatrix", i = "index", j = "missing",
          value = "replValue")': ... 

     [<- 'signature(x = "CsparseMatrix", i = "index", j = "index",
          value = "replValue")': ... 

     [<- 'signature(x = "CsparseMatrix", i = "missing", j = "index",
          value = "replValue")': ... 

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

     %*% 'signature(x = "CsparseMatrix", y = "denseMatrix")': ... 

     %*% 'signature(x = "CsparseMatrix", y = "matrix")': ... 

     + 'signature(e1 = "CsparseMatrix", e2 = "numeric")': ... 

     + 'signature(e1 = "numeric", e2 = "CsparseMatrix")': ... 

     _c_o_e_r_c_e 'signature(from = "CsparseMatrix", to = "TsparseMatrix")':
          ... 

     _c_o_e_r_c_e 'signature(from = "CsparseMatrix", to = "denseMatrix")':
          ... 

     _c_o_e_r_c_e 'signature(from = "CsparseMatrix", to = "matrix")': ... 

     _c_o_e_r_c_e 'signature(from = "CsparseMatrix", to = "lsparseMatrix")':
          ... 

     _c_o_e_r_c_e 'signature(from = "CsparseMatrix", to = "nsparseMatrix")':
          ... 

     _c_o_e_r_c_e 'signature(from = "TsparseMatrix", to = "CsparseMatrix")':
          ... 

     _c_o_e_r_c_e 'signature(from = "denseMatrix", to = "CsparseMatrix")':
          ... 

     _c_r_o_s_s_p_r_o_d 'signature(x = "CsparseMatrix", y = "CsparseMatrix")':
          ... 

     _c_r_o_s_s_p_r_o_d 'signature(x = "CsparseMatrix", y = "missing")': ... 

     _c_r_o_s_s_p_r_o_d 'signature(x = "CsparseMatrix", y = "dgeMatrix")': ... 

     _c_r_o_s_s_p_r_o_d 'signature(x = "CsparseMatrix", y = "matrix")': ... 

     _d_i_a_g 'signature(x = "CsparseMatrix")': ... 

     _g_a_m_m_a 'signature(x = "CsparseMatrix")': ... 

     _l_g_a_m_m_a 'signature(x = "CsparseMatrix")': ... 

     _l_o_g 'signature(x = "CsparseMatrix")': ... 

     _t 'signature(x = "CsparseMatrix")': ... 

     _t_c_r_o_s_s_p_r_o_d 'signature(x = "CsparseMatrix", y = "CsparseMatrix")':
          ... 

     _t_c_r_o_s_s_p_r_o_d 'signature(x = "CsparseMatrix", y = "missing")': ... 

     _t_r_i_l 'signature(x = "CsparseMatrix")': ... 

     _t_r_i_u 'signature(x = "CsparseMatrix")': ... 

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

     'colSums', 'kronecker', and other such methods with own help
     pages.

     Further, the super class of 'CsparseMatrix', 'sparseMatrix', and,
     e.g., class 'dgCMatrix' for the links to other classes.

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

     showClass("CsparseMatrix")

