Class: Array
Instance Method Summary collapse
Instance Method Details
#daru_lite_vector(name = nil, index = nil, dtype = :array) ⇒ Object Also known as: dv
2 3 4 |
# File 'lib/daru_lite/monkeys.rb', line 2 def daru_lite_vector(name = nil, index = nil, dtype = :array) DaruLite::Vector.new self, name: name, index: index, dtype: dtype end |
#to_index ⇒ Object
8 9 10 |
# File 'lib/daru_lite/monkeys.rb', line 8 def to_index DaruLite::Index.new self end |