Class: JBLAS::MatrixElementWiseProxy
Instance Method Summary collapse
- #*(other) ⇒ Object
-
#initialize(matrix) ⇒ MatrixElementWiseProxy
constructor
A new instance of MatrixElementWiseProxy.
Constructor Details
#initialize(matrix) ⇒ MatrixElementWiseProxy
Returns a new instance of MatrixElementWiseProxy.
37 38 39 |
# File 'lib/jblas/proxies.rb', line 37 def initialize(matrix) @matrix = matrix end |
Instance Method Details
#*(other) ⇒ Object
41 42 43 |
# File 'lib/jblas/proxies.rb', line 41 def *(other) @matrix.mul(other) end |