chol                 package:Matrix                 R Documentation

_C_h_o_l_e_s_k_i _D_e_c_o_m_p_o_s_i_t_i_o_n - '_M_a_t_r_i_x' _S_4 _G_e_n_e_r_i_c

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

     Compute the Choleski factorization of a real symmetric
     positive-definite square matrix.

_U_s_a_g_e:

     chol(x, pivot = FALSE, ...)

_A_r_g_u_m_e_n_t_s:

       x: a (sparse or dense) square matrix, here inheriting from class
          'Matrix'; if 'x' is not positive definite, an error is
          signalled.

   pivot: logical indicating if pivoting is used.

     ...: potentially further arguments passed to methods.

_V_a_l_u_e:

     ~Describe the value returned If it is a LIST, use 

  comp1 : Description of 'comp1'

  comp2 : Description of 'comp2'

     ...

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

     Use 'showMethods(chol)' to see all; some are worth mentioning
     here:

     _c_h_o_l 'signature(x = "dgeMatrix")': works via '"dpoMatrix"', see
          class 'dpoMatrix'.

     _c_h_o_l 'signature(x = "dpoMatrix")': Returns (and stores) the
          Cholesky decomposition of 'x', via LAPACK routines 'dlacpy'
          and 'dpotrf'.

     _c_h_o_l 'signature(x = "dppMatrix")': Returns (and stores) the
          Cholesky decomposition via LAPACK routine 'dpptrf'.

     _c_h_o_l 'signature(x = "dsCMatrix", pivot = "logical")': Returns (and
          stores) the Cholesky decomposition of 'x'.  If 'pivot' is
          'TRUE' (the default) Metis is used to create a reordering of
          the rows and columns of 'x' so as to minimize fill-in.

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

     The default from 'base', 'chol'.

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

     showMethods(chol, inherited = FALSE) # show different methods

