inv                package:fUtilities                R Documentation

_T_h_e _I_n_v_e_r_s_e _o_f _a _M_a_t_r_i_x

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

     Returns the inverse of a matrix.

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

     inv(x)

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

       x: a numeric matrix. 

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

     returns the inverse matrix.

_N_o_t_e:

     The function 'inv' is a synonyme to the function 'solve'.

_R_e_f_e_r_e_n_c_e_s:

     Golub, van Loan, (1996); _Matrix Computations_,  3rd edition.
     Johns Hopkins University Press.

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

     ## Create Pascal Matrix:
        P = pascal(5)
        P
              
     ## Compute the Inverse Matrix:
        inv(P)
        
     ## Check:
        inv(P) 
        
     ## Alternatives:
        chol2inv(chol(P))
        solve(P)                     

