Class: NMatrix

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

Overview

:nocov:

Instance Method Summary collapse

Instance Method Details

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



35
36
37
# File 'lib/daru/monkeys.rb', line 35

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