Class: Mikon::ArrayWrapper

Inherits:
Array
  • Object
show all
Defined in:
lib/mikon/core/array.rb

Instance Method Summary collapse

Instance Method Details

#dtypeObject



125
126
127
# File 'lib/mikon/core/array.rb', line 125

def dtype
  :object
end

#sorted_indicesObject



129
130
131
# File 'lib/mikon/core/array.rb', line 129

def sorted_indices
  self.map.with_index.sort_by(&:first).map(&:last)
end