⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
usr
/
share
/
ri
/
3.0.0
/
system
/
Matrix
/
View File Name :
each-i.ri
U:RDoc::AnyMethod[iI" each:ETI"Matrix#each;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"NYields all elements of the matrix, starting with those of the first row, ;TI"1or returns an Enumerator if no block given. ;TI"7Elements can be restricted by passing an argument:;To:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0; [o; ; [I"(:all (default): yields all elements;To;;0; [o; ; [I"4:diagonal: yields only elements on the diagonal;To;;0; [o; ; [I">:off_diagonal: yields all elements except on the diagonal;To;;0; [o; ; [I"::lower: yields only elements on or below the diagonal;To;;0; [o; ; [I";:strict_lower: yields only elements below the diagonal;To;;0; [o; ; [I";:strict_upper: yields only elements above the diagonal;To;;0; [o; ; [I"::upper: yields only elements on or above the diagonal;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"0Matrix[ [1,2], [3,4] ].each { |e| puts e } ;TI"& # => prints the numbers 1 to 4 ;TI"=Matrix[ [1,2], [3,4] ].each(:strict_lower).to_a # => [3];T:@format0: @fileI"lib/matrix.rb;T:0@omit_headings_from_table_of_contents_below00I"e;T[ I"(which = :all);T@;FI"Matrix;TcRDoc::NormalClass00