Question: Remember tables

December 09 2012 Mac Dude 500
Maple

0

I have a procedure which accepts arguments of a (created by myself) type which are records, like so:

Subs:=proc(eqn::seq(equation),elemt::Element,$);
...

Here "Element" is  type I have defined; it is a record with certain fields present.

My question: will this work with option remember? I have the procedure sort-of working without the remember option, but I need to make it work recursively (the Element record can have fields which contain names of other records of type Element) and that really needs to be able to cache the results. The Help facility indicates that remember tables do not work when parameters are mutable objects and I do not know whether records fall in that category. I assume the first argument (equation list) is ok here...??

Does option cache behave differently wrt. mutable objects?

TIA,

Mac Dude

Please Wait...