D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Matrix
/
Filename :
trace-i.yaml
back
Copy
--- !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 => 16\n" full_name: Matrix#trace is_singleton: false name: trace params: () visibility: public