Class: MatrixCache

Inherits:
Object show all
Includes:
ObjectCache, Singleton
Defined in:
lib/gosling/matrix_cache.rb

Instance Method Summary collapse

Methods included from ObjectCache

#clear, #get, #recycle, #size

Constructor Details

#initializeMatrixCache

Returns a new instance of MatrixCache.



9
10
11
# File 'lib/gosling/matrix_cache.rb', line 9

def initialize
  @cache = {}
end