invgen                  package:far                  R Documentation

_G_e_n_e_r_a_l_i_z_e_d _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:

     Calculates the Moore-Penrose generalized inverse of a matrix X.

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

     invgen(a, tol)

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

       a: Matrix for which the Moore-Penrose inverse is required. 

     tol: A relative tolerance to detect zero singular values. 

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

     A Moore-Penrose generalized inverse matrix for X.

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

     'solve','svd','eigen'

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

       mat1<-matrix(rnorm(100),ncol=10)
       print(invgen(mat1))

