class Gecode::Util::EnumMatrix

Extends Matrix so that it’s an enumerable.

Public Instance Methods

column(i) click to toggle source
Calls superclass method
# File doc/tmp/rdoc_dev/gecoder/interface/enum_matrix.rb, line 26
def column(i)
  wrap_if_wrapped make_vector_enumerable(super)
end
minor(*args) click to toggle source
Calls superclass method
# File doc/tmp/rdoc_dev/gecoder/interface/enum_matrix.rb, line 30
def minor(*args)
  matrix = super
  class <<matrix
    include MatrixEnumMethods
  end
  return wrap_if_wrapped(matrix)
end
row(i) click to toggle source
Calls superclass method
# File doc/tmp/rdoc_dev/gecoder/interface/enum_matrix.rb, line 22
def row(i)
  wrap_if_wrapped make_vector_enumerable(super)
end