The function Nest[] must store the temporary values in the memory somewhere (those values that would form the entries of the list which is returned by the equivalent NestList function).
Does anyone know if there is a way to access said values in an interrupted evaluation (using a kernel subsession)?
Alternatively, is there a way to know all temporary variables currently in use and to print out their values?
Answer
If I understand you question correctly, you want to run a Nest command. In cases where the Nest takes a long time you'd like to abort (or suspend) the command and then through an interactive debugging session see the values obtained thus far. If this is what you are asking, to the best of my knowledge this is not possible. You need to add code (like Sow) prior to the execution.
Comments
Post a Comment