Method: TwoDMatrix#dimensions

Defined in:
lib/csrmatrix.rb

#dimensionsObject



110
111
112
113
114
# File 'lib/csrmatrix.rb', line 110

def dimensions()
  is_invariant?
  # returns the dimensions of the csrmatrix
  return [@rows, @columns]
end