Mercurial > octave
comparison scripts/miscellaneous/clearAllMemoizedCaches.m @ 31247:3dae836c598c
doc: Expand and edit documentation for memoization (bug #60860)
author | Arun Giridhar <arungiridhar@gmail.com> |
---|---|
date | Fri, 30 Sep 2022 06:38:59 -0400 |
parents | a887ffb997a7 |
children | a40c0b7aa376 |
comparison
equal
deleted
inserted
replaced
31246:43a6be589387 | 31247:3dae836c598c |
---|---|
25 | 25 |
26 ## -*- texinfo -*- | 26 ## -*- texinfo -*- |
27 ## @deftypefn {} {} clearAllMemoizedCaches () | 27 ## @deftypefn {} {} clearAllMemoizedCaches () |
28 ## Clear all memoized caches. | 28 ## Clear all memoized caches. |
29 ## | 29 ## |
30 ## Memoization maintains internal tables of which functions have been called | |
31 ## with which inputs. This function clears those tables to free memory, | |
32 ## or for a fresh start. | |
33 ## | |
30 ## @seealso{memoize} | 34 ## @seealso{memoize} |
31 ## @end deftypefn | 35 ## @end deftypefn |
32 | 36 |
33 function clearAllMemoizedCaches | 37 function clearAllMemoizedCaches |
34 | 38 |