Class: MDArray

Inherits:
Object show all
Defined in:
lib/daru/monkeys.rb

Instance Method Summary collapse

Instance Method Details

#daru_vector(name = nil, index = nil) ⇒ Object Also known as: dv



43
44
45
# File 'lib/daru/monkeys.rb', line 43

def daru_vector(name=nil, index=nil, *)
  Daru::Vector.new self, name: name, index: index, dtype: :mdarray
end