Class: Matrix

Inherits:
Object
  • Object
show all
Defined in:
lib/symbolic/extensions/matrix.rb

Instance Method Summary collapse

Instance Method Details

#valueObject



3
4
5
# File 'lib/symbolic/extensions/matrix.rb', line 3

def value
  map {|it| it.value }
end

#variablesObject



7
8
9
# File 'lib/symbolic/extensions/matrix.rb', line 7

def variables
  map {|it| it.variables }.to_a.flatten.uniq
end