

mexp(rmutil)                                 R Documentation

_M_a_t_r_i_x _E_x_p_o_n_e_n_t_i_a_t_i_o_n

_U_s_a_g_e_:

     mexp(x, t=1, type="spectral decomposition", n=20, k=3)

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

       x: A square matrix.

       t: Constant multiplying the matrix.

    type: Algorithm used: spectral decomposition or series
          approximation.

       n: Number of terms in the series expansion.

       k: Constant divisor to avoid over- or underflow
          (series approximation only).

_V_a_l_u_e_:

     `mexp' calculates `exp(t*x)' for the square matrix,
     `x', by spectral decomposition or series expansion.

_A_u_t_h_o_r_(_s_)_:

     J.K. Lindsey

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

     x <- matrix(c(1,2,3,4),nrow=2)
     mexp(x)

