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")

