Class: Object

Inherits:
BasicObject
Defined in:
lib/jblas/extensions.rb

Overview

Extensions to Ruby’s Object class

Instance Method Summary collapse

Instance Method Details

#to_matrixObject

convert object to a matrix through to_mat



41
42
43
# File 'lib/jblas/extensions.rb', line 41

def to_matrix
  to_mat
end