Method: Rust::Matrix#flatten

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

#flattenObject

Returns a flattened version of the matrix (Array).



102
103
104
# File 'lib/rust/core/types/matrix.rb', line 102

def flatten
    return @data.flatten
end