Class: JBLAS::MatrixDotProxy

Inherits:
Object
  • Object
show all
Defined in:
lib/jblas/proxies.rb

Instance Method Summary collapse

Constructor Details

#initialize(matrix) ⇒ MatrixDotProxy

Returns a new instance of MatrixDotProxy.



47
48
49
# File 'lib/jblas/proxies.rb', line 47

def initialize(matrix)
  @matrix = matrix
end

Instance Method Details

#*(other) ⇒ Object



51
52
53
# File 'lib/jblas/proxies.rb', line 51

def *(other)
  @matrix.dot(other)
end