sparseLU-class            package:Matrix            R Documentation

_S_p_a_r_s_e _L_U _d_e_c_o_m_p_o_s_i_t_i_o_n _o_f _a _s_q_u_a_r_e _s_p_a_r_s_e _m_a_t_r_i_x

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

     Objects of this class contain the components of the LU
     decomposition of a sparse square matrix.

_O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s:

     Objects can be created by calls of the form 'new("sparseLU", ...)'
     but are more commonly created by function 'lu()' applied to a
     sparse matrix, such as a matrix of class 'dgCMatrix'.

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


     '_L': Object of class '"dtCMatrix"', the lower triangular factor
          from the left.

     '_U': Object of class '"dtCMatrix"', the upper triangular factor
          from the right.

     '_p': Object of class '"integer"', permutation applied from the
          left. 

     '_q': Object of class '"integer"', permutation applied from the
          right.

     '_D_i_m': the dimension of the original matrix; inherited from class
          'MatrixFactorization'.

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

     Class '"LU"', directly. Class '"MatrixFactorization"', by class
     '"LU"'.

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


     _e_x_p_a_n_d 'signature(x = "sparseLU")' Returns a list with components
          'P', 'L', 'U', and 'Q', where P and Q represent fill-reducing
          permutations, and L, and U the lower and upper triangular
          matrices of the decomposition.  The original matrix
          corresponds to the product PLUQ.

_N_o_t_e:

     The decomposition is of the form

                               A = PLUQ

     where all matrices are sparse and of size n by n. The matrices P
     and Q are permutation matrices, L is lower triangular and U is
     upper triangular.

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

     'lu', 'solve', 'dgCMatrix'

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

       ## see  examples(lu)

