Module: Enumerable
- Included in:
- Mat
- Defined in:
- lib/kmat/misc.rb
Instance Method Summary collapse
Instance Method Details
#argsort(&block) ⇒ Object
105 106 107 |
# File 'lib/kmat/misc.rb', line 105 def argsort(&block) self.to_a.argsort(&block) end |
#argsort_by(&block) ⇒ Object
108 109 110 |
# File 'lib/kmat/misc.rb', line 108 def argsort_by(&block) self.to_a.argsort_by(&block) end |