persistence


persistence, a Python code which demonstrates how to initialize, get, or set data stored within a function, using static/persistent/saved/local memory.

This type of data storage is sometimes referred to as "static memory" or "persistent memory" or "saved memory".

Several examples are offered here, each embodied in a function.

Licensing:

The computer code and data files made available on this web page are distributed under the MIT license

Languages:

persistence is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version and an Octave version and a Python version and an R version.

Related Data and Programs:

Source Code: