mpower                package:rmutil                R Documentation

_P_o_w_e_r _o_f _a _M_a_t_r_i_x

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

     '%^%' calculates 'x^p' for the square matrix, 'x', by spectral
     decomposition.

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

     x%^%p

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

       x: A square matrix.

       p: The power to which the matrix is to be raised.

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

     '%^%' returns the power of a matrix.

_A_u_t_h_o_r(_s):

     J.K. Lindsey

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

     x <- matrix(c(0.4,0.6,0.6,0.4),nrow=2)
     x%^%2
     x%^%10
     x%^%20

