Method: Rust::Matrix#cols

Defined in:
lib/rust/core/types/matrix.rb

#colsObject

Returns the number of columns.



95
96
97
# File 'lib/rust/core/types/matrix.rb', line 95

def cols
    @data[0].size
end