Class: MDArray
Instance Method Summary collapse
- #daru_vector(name = nil, index = nil) ⇒ Object (also: #dv)
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 |