The Art of Mathematics

Help 1.3

How to use memory

1. Syntax

To push value to calculator memory use operator and to address memory use mem operator — that's simple:

tanh(8.9)−>mem[x];
tanh(mem[x]);

Avoid using parentheses and brackets when naming values stored in memory.

2. Example

Enter:

4−>mem[frequency]

Fire Ctrl+= to execute the command:

4−>mem[frequency]=4

Look at Memory window and you will find that cell frequency was allocated and value 4 was assigned to it. We have frequency, now add time:

4−>mem[frequency]=4;
3.5−>mem[time];

And finaly:

4−>mem[frequency]=4;
3.5−>mem[time];
sin(mem[time]*mem[frequency])

Fire Ctrl+Shift+= to calculate all expressions:

4−>mem[frequency]=4;
3.5−>mem[time]=3.5;
sin(mem[time]*mem[frequency])=0.24192189559966773

That is how you are addressing values put to memory.

You can clear the memory by clicking free button.

3. Memory files

You can save the content of calculator memory as .lcm memory file — use Memory >> Save or Save memory button in Toolbar.

Fig. 1. Memory Save command in menu. Fig. 1. Memory Save command in Memory menu. Fig. 2. Memory Save command in toolbar. Fig. 2. Memory Save command in Toolbar.

To load memory from the file engage Memory >> Load or Load memory button in Toolbar.

Fig. 3. Memory Load command in menu. Fig. 3. Memory Load command in Memory menu. Fig. 4. Memory Load command in toolbar. Fig. 4. Memory Load command in Toolbar.

4. Memory window

Memory window offers extra memory management functionality.

Fig. 5. Calculator memory. Fig. 5. Calculator Memory.

Its 3 top buttons perform operations on selected memory and 2 bottom buttons can be used for selection operations.

ButtonFunction
1FreeFrees selected memory. If there is no selection, the whole memory is freed.
2SaveDumps selected memory to disk. If there is no selection, the whole memory is saved.
3StatisticsCalculates Statistics for selected values in memory. If there is no selection, performed for all the values.
4Invert selectionInverts the memory selection.
5UnselectUnselects the whole memory.
Table. 1. Memory button functions.

Click check-boxes in memory list and use Invert selection and Unselect buttons to select values you want to perform operation on or unselect the whole memory, if the operation to be performed for all the values. Click the operation button: Save to save (selected) memory, Free to delete (selected) cells or Statistics to perform statistic calculations for (selected) values.