Method: TwoDMatrix#build_from_rows

Defined in:
lib/csrmatrix.rb

#build_from_rows(array) ⇒ Object



285
286
287
288
289
# File 'lib/csrmatrix.rb', line 285

def build_from_rows(array)
# builds a csr matrix from rows
  build_from_array(array)
  self.transpose()
end