Method: Rust::Matrix#cols
- Defined in:
- lib/rust/core/types/matrix.rb
#cols ⇒ Object
Returns the number of columns.
95 96 97 |
# File 'lib/rust/core/types/matrix.rb', line 95 def cols @data[0].size end |
Returns the number of columns.
95 96 97 |
# File 'lib/rust/core/types/matrix.rb', line 95 def cols @data[0].size end |