Class: Range
Overview
Extensions to Ruby’s Range class
Instance Method Summary collapse
-
#to_mat ⇒ Object
Convert to matrix object.
Instance Method Details
#to_mat ⇒ Object
Convert to matrix object.
62 63 64 |
# File 'lib/jblas/extensions.rb', line 62 def to_mat self.to_a.to_mat end |