Class: JBLAS::MatrixDotProxy
Instance Method Summary collapse
- #*(other) ⇒ Object
-
#initialize(matrix) ⇒ MatrixDotProxy
constructor
A new instance of MatrixDotProxy.
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 |