RsparseMatrix-class          package:Matrix          R Documentation

_C_l_a_s_s "_R_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 '"RsparseMatrix"' class is the virtual class of all sparse
     matrices coded in sorted compressed row-oriented form. Since it is
     a virtual class, no objects may be created from it.  See
     'showClass("RsparseMatrix")' for its subclasses.

_S_l_o_t_s:


     '_j': Object of class '"integer"' of length 'nnzero' (number of
          non-zero elements).  These are the row numbers for each
          non-zero element in the matrix.

     '_p': Object of class '"integer"' of pointers, one for each row, to
          the initial (zero-based) index of elements in the row.

     '_D_i_m', '_D_i_m_n_a_m_e_s': inherited from the superclass, see
          'sparseMatrix'.

_E_x_t_e_n_d_s:

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

_M_e_t_h_o_d_s:

     Only *few* methods are defined currently on purpose, since we
     rather use the 'CsparseMatrix' in 'Matrix'. Recently, more methods
     were added but _beware_ that these typically do _not_ return
     '"RsparseMatrix"' results, but rather Csparse* or Tsparse* ones.

     _t 'signature(x = "RsparseMatrix")': ... 

     _c_o_e_r_c_e 'signature(from = "RsparseMatrix", to = "CsparseMatrix")':
          ... 

     _c_o_e_r_c_e 'signature(from = "RsparseMatrix", to = "TsparseMatrix")':
          ... 

_S_e_e _A_l_s_o:

     its superclass, 'sparseMatrix', and, e.g., class 'dgRMatrix' for
     the links to other classes.

_E_x_a_m_p_l_e_s:

     showClass("RsparseMatrix")

