tr                 package:emulator                 R Documentation

_T_r_a_c_e _o_f _a _m_a_t_r_i_x

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

     Returns the trace of a matrix

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

     tr(a)

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

       a: Matrix whose trace is desired

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

     Robin K. S. Hankin

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

     tr(matrix(1:9,3,3))

