Repository URL to install this package:
|
Version:
2.2.2-1 ▾
|
U:RDoc::AnyMethod[iI"
index:EFI"Matrix#index;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"JThe index method is specialized to return the index as [row, column] ;TI"LIt also accepts an optional +selector+ argument, see #each for details.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"7Matrix[ [1,2], [3,4] ].index(&:even?) # => [0, 1]
;TI"?Matrix[ [1,1], [1,1] ].index(1, :strict_lower) # => [1, 0];T:@format0:
@fileI"lib/matrix.rb;T:0@omit_headings_from_table_of_contents_below0I"index(value, selector = :all) -> [row, column]
index(selector = :all){ block } -> [row, column]
index(selector = :all) -> an_enumerator
;TI"e;T[[I"find_index;To;; [ ;@;0I"(*args);T@FI"Matrix;TcRDoc::NormalClass00