--- !ruby/object:RI::MethodDescription 
aliases: 
- !ruby/object:RI::AliasName 
  name: tr
block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Returns the trace (sum of diagonal elements) of the matrix.
- !ruby/struct:SM::Flow::VERB 
  body: "  Matrix[[7,6], [3,9]].trace\n    =&gt; 16\n"
full_name: Matrix#trace
is_singleton: false
name: trace
params: ()
visibility: public
