 |
|
List Archives > 
Maple User Group List Archive > 
Archive by date > 
This Month By Date > 
This Month By Topic
[MUG] scoping rules for remember tables in nested procedures
| [MUG] scoping rules for remember tables in nested procedures |
|
Author: Roland Winkler
Posted: Mon, 26 Aug 2002 23:19:31 +0200
|
>> From: Roland Winkler "roland.winkler"
Dear Muggers
What are the scoping rules for remember tables in nested maple
procedures? Is the remember table for the inner table recreated each
time the outer procedure is called again? That's at least what I
find by trial and error. But is this documented anywhere? Usually I
feel more confident when I know I can rely upon something like that.
The reason I am interested in this is that I have an (outer)
procedure that is doing fairly big calculations each time it is
called. For a given set of arguments of this procedure, certain
calculations must be repeated many times. So I plugged these
calculations into an inner procedure with option remember and
apparently it has the desired effect that the inner procedure starts
a fresh remember table each time the outer function is called again
(with different arguments).
And a related question: What about remember tables of procedures
inside modules?
Roland
|
Previous by date: [MUG] Question about programming maple with graphic commands, Emrah AKYAR
Next by date: [MUG] find spectral decomposition of matrix, Kumaran, Jayesh UMKC-Student
Previous thread: [MUG] vector valued functions, Dr Wilhelm Werner
Next thread: [MUG] find spectral decomposition of matrix, Kumaran, Jayesh UMKC-Student
|
|
|