Function: disremember - produce procedure without option remember.
P - procedure.
x - anything.
Define a procedure having option remember .
> F:= proc(x) option remember; x^2+1 end;
Produce some values in its remember table.
Here is a version without option remember , but with the existing remember table entries.
> G:= disremember(F);
These remember tables are separate: adding or changing an entry in one won't change the other.
F(1):= foo: G(1):= goo:
Here's another version with no remember table.
> H:= disremember(F,0);
Not having a remember table allows H to be executed under evalhf .
Error, remember tables are not supported in evalhf
See also: Error: remember tables are not supported in evalhf , forget , remember , sniffmem
Maple Advisor Database R. Israel, 1999