Method: Cumo::NArray#flipud
- Defined in:
- lib/cumo/narray/extra.rb
#flipud ⇒ Object
Flip each column in the up/down direction. Same as ‘a[(-1..0).step(-1), …]`.
44 45 46 |
# File 'lib/cumo/narray/extra.rb', line 44 def flipud reverse(0) end |