Trace             package:GraphAlignment             R Documentation

_C_a_l_c_u_l_a_t_e _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:

     Calculate the trace of a square matrix.

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

     Trace(m)

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

       m: square matrix

_D_e_t_a_i_l_s:

     The return value is the trace of the input matrix.

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

     Joern P. Meier, Michal Kolar, Ville Mustonen, Michael Laessig, and
     Johannes Berg

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

       m <- matrix(c(1, 0, 0, 1), 2, 2)
       Trace(m)

