sparseMatrix-class          package:Matrix          R Documentation

_V_i_r_t_u_a_l _C_l_a_s_s "_s_p_a_r_s_e_M_a_t_r_i_x" - _M_o_t_h_e_r _o_f _S_p_a_r_s_e _M_a_t_r_i_c_e_s

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

     Virtual Mother Class of All Sparse Matrices

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

     '_D_i_m': Object of class '"integer"' - the dimensions of the matrix
          - must be an integer vector with exactly two non-negative
          values.

     '_D_i_m_n_a_m_e_s': a list of length two - inherited from class 'Matrix',
          see 'Matrix'.

     '_f_a_c_t_o_r_s': Object of class '"list"' - a list of factorizations of
          the matrix. 

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

     Class '"Matrix"', directly.

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

     _s_h_o_w 'signature(object = "sparseMatrix")': The 'show' method for
          sparse matrices prints _"structural"_ zeroes as '"."' or
          blank.

_N_o_t_e:

     In method selection for multiplication operations (i.e. '%*%' and
     the two-argument form of 'crossprod') the sparseMatrix class takes
     precedence in the sense that if one operand is a sparse matrix and
     the other is any type of dense matrix then the dense matrix is
     coerced to a 'dgeMatrix' and the appropriate sparse matrix method
     is used.

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

     showClass("sparseMatrix") ## and look at the help() of its subclasses

