{VERSION 4 0 "IBM INTEL NT" "4.0" } {USTYLETAB {CSTYLE "Maple Input" -1 0 "Courier" 0 1 255 0 0 1 0 1 0 0 1 0 0 0 0 1 }{CSTYLE "2D Math" -1 2 "Times" 0 1 0 0 0 0 0 0 2 0 0 0 0 0 0 1 }{CSTYLE "Hyperlink" -1 17 "" 0 1 0 128 128 1 0 0 1 0 0 0 0 0 0 1 }{CSTYLE "2D Output" 2 20 "" 0 1 0 0 255 1 0 0 0 0 0 0 0 0 0 1 } {CSTYLE "" 0 21 "" 0 1 0 0 0 1 0 0 0 0 2 0 0 0 0 1 }{CSTYLE "Help Head ing" -1 26 "" 1 14 0 0 0 0 0 1 0 0 0 0 0 0 0 1 }{PSTYLE "Normal" -1 0 1 {CSTYLE "" -1 -1 "Times" 1 12 0 0 0 1 2 2 2 2 2 2 1 1 1 1 }1 1 0 0 0 0 1 0 1 0 2 2 0 1 }{PSTYLE "Text Output" -1 2 1 {CSTYLE "" -1 -1 "Co urier" 1 10 0 0 255 1 2 2 2 2 2 1 3 1 3 1 }1 1 0 0 0 0 1 0 1 0 2 2 0 1 }{PSTYLE "Heading 1" -1 3 1 {CSTYLE "" -1 -1 "Times" 1 18 0 0 0 1 2 1 2 2 2 2 1 1 1 1 }1 1 0 0 6 6 1 0 1 0 2 2 0 1 }{PSTYLE "Warning" 2 7 1 {CSTYLE "" -1 -1 "" 0 1 0 0 255 1 0 0 0 0 0 0 1 0 0 0 }0 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 }{PSTYLE "Error" 7 8 1 {CSTYLE "" -1 -1 "" 0 1 255 0 255 1 0 0 0 0 0 0 0 0 0 0 }0 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 } {PSTYLE "Maple Output" 0 11 1 {CSTYLE "" -1 -1 "" 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 }3 3 0 -1 -1 -1 0 0 0 0 0 0 -1 0 }{PSTYLE "Bullet Item" -1 15 1 {CSTYLE "" -1 -1 "Times" 1 12 0 0 0 1 2 2 2 2 2 2 1 1 1 1 }1 1 0 0 3 3 1 0 1 0 2 2 15 2 }} {SECT 0 {SECT 0 {PARA 0 "" 0 "" {TEXT 26 9 "Function:" }{TEXT -1 57 " \+ disremember - produce procedure without option remember." }}{PARA 0 " " 0 "" {TEXT 26 19 "Calling Sequences: " }}{PARA 0 "" 0 "" {MPLTEXT 0 21 15 "disremember(P);" }}{PARA 0 "" 0 "" {MPLTEXT 0 21 17 "disremembe r(P,x);" }}{PARA 0 "" 0 "" {TEXT 26 11 "Parameters:" }}{PARA 0 "" 0 " " {MPLTEXT 0 21 1 "P" }{TEXT -1 14 " - procedure." }}{PARA 0 "" 0 "" {MPLTEXT 0 21 1 "x" }{TEXT -1 12 " - anything." }}}{SECT 0 {PARA 3 "" 0 "" {TEXT 26 12 "Description:" }}{PARA 15 "" 0 "" {TEXT -1 32 "Given \+ a procedure that may have " }{MPLTEXT 0 21 15 "option remember" } {TEXT -1 102 ", this function produces another procedure that is ident ical to that one except that it does not have " }{MPLTEXT 0 21 15 "opt ion remember" }{TEXT -1 1 "." }}{PARA 15 "" 0 "" {TEXT -1 149 "This fu nction can be useful when Maple's memory usage increases abnormally, d ue to results being added to the remember table of a procedure that ha s " }{MPLTEXT 0 21 15 "option remember" }{TEXT -1 7 ". See " } {HYPERLNK 17 "sniffmem" 2 "sniffmem" "" }{TEXT -1 63 " for a way to te ll which procedures have large remember tables." }}{PARA 15 "" 0 "" {TEXT -1 14 "The result of " }{MPLTEXT 0 21 11 "disremember" }{TEXT -1 243 " may be assigned back to the name of the original procedure. \+ From this time on, no additional results will be automatically added t o the remember table. Or the result may be assigned to a different na me, resulting in two distinct procedures." }}{PARA 15 "" 0 "" {TEXT -1 21 "In the first syntax, " }{MPLTEXT 0 21 14 "disremember(f)" } {TEXT -1 103 ", the remember table of the result is a copy of that of \+ the original procedure. In the second syntax, " }{MPLTEXT 0 21 16 "di sremember(f,x)" }{TEXT -1 95 ", the remember table of the result is cl eared. Another way to delete a remember table is with " }{HYPERLNK 17 "forget" 2 "forget" "" }{TEXT -1 12 ". However, " }{MPLTEXT 0 21 9 "forget(f)" }{TEXT -1 22 " deletes the table of " }{MPLTEXT 0 21 1 " f" }{TEXT -1 45 " itself instead of returning a new procedure." }} {PARA 15 "" 0 "" {TEXT -1 29 "Caution is needed when using " } {MPLTEXT 0 21 11 "disremember" }{TEXT -1 53 " on Maple's own procedure s, as some of them may need " }{MPLTEXT 0 21 15 "option remember" } {TEXT -1 27 " in order to work properly." }}{PARA 15 "" 0 "" {TEXT -1 52 "This function is part of the Maple Advisor Database." }}}{SECT 0 {PARA 3 "" 0 "" {TEXT 26 8 "Examples" }}{PARA 0 "" 0 "" {TEXT -1 26 "D efine a procedure having " }{MPLTEXT 0 21 15 "option remember" }{TEXT -1 1 "." }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 39 "F:= proc(x) optio n remember; x^2+1 end;" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%\"FGR6#%\" xG6\"6#%)rememberGF(,&*$)9$\"\"#\"\"\"F0F0F0F(F(F(" }}}{PARA 0 "" 0 " " {TEXT -1 42 "Produce some values in its remember table." }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 30 "F(1),F(2),F(3):\nop(4,eval(F));" }} {PARA 11 "" 1 "" {XPPMATH 20 "6#-%&TABLEG6#7%/\"\"\"\"\"#/F)\"\"&/\"\" $\"#5" }}}{PARA 0 "" 0 "" {TEXT -1 26 "Here is a version without " } {MPLTEXT 0 21 15 "option remember" }{TEXT -1 47 ", but with the existi ng remember table entries." }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 19 "G:= disremember(F);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%\"GGR6#% \"xG6\"F(E\\s$\"\"\"\"\"#F+\"\"&\"\"$\"#5,&*$)9$F+F*F*F*F*F(F(F(" }}} {EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 14 "op(4,eval(G));" }}{PARA 11 " " 1 "" {XPPMATH 20 "6#-%&TABLEG6#7%/\"\"\"\"\"#/F)\"\"&/\"\"$\"#5" }}} {PARA 0 "" 0 "" {TEXT -1 94 "These remember tables are separate: addin g or changing an entry in one won't change the other." }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 53 "F(1):= foo: G(1):= goo:\nop(4,eval(G)); o p(4,eval(F));" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#-%&TABLEG6#7%/\"\"\"% $gooG/\"\"#\"\"&/\"\"$\"#5" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#-%&TABLE G6#7%/\"\"\"%$fooG/\"\"#\"\"&/\"\"$\"#5" }}}{PARA 0 "" 0 "" {TEXT -1 46 "Here's another version with no remember table." }}{EXCHG {PARA 0 " > " 0 "" {MPLTEXT 1 0 21 "H:= disremember(F,0);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%\"HGR6#%\"xG6\"F(F(,&*$)9$\"\"#\"\"\"F.F.F.F(F(F(" }} }{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 14 "op(4,eval(H));" }}}{PARA 0 "" 0 "" {TEXT -1 35 "Not having a remember table allows " }{MPLTEXT 0 21 1 "H" }{TEXT -1 22 " to be executed under " }{MPLTEXT 0 21 6 "evalh f" }{TEXT -1 1 "." }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 13 "evalhf( H(1));" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#$\"\"#\"\"!" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 13 "evalhf(F(5));" }}{PARA 8 "" 1 "" {TEXT -1 51 "Error, remember tables are not supported in evalhf\n" }}} {PARA 0 "" 0 "" {TEXT -1 0 "" }}}{SECT 0 {PARA 0 "" 0 "" {TEXT 26 9 "S ee also:" }{TEXT -1 1 " " }{HYPERLNK 17 "Error: remember tables are no t supported in evalhf" 2 "Error:remember_tables_are_not_supported_in_e valhf" "" }{TEXT -1 2 ", " }{HYPERLNK 17 "forget" 2 "forget" "" } {TEXT -1 2 ", " }{HYPERLNK 17 "remember" 2 "remember" "" }{TEXT -1 2 " , " }{HYPERLNK 17 "sniffmem" 2 "sniffmem" "" }}}{SECT 0 {PARA 0 "" 0 " " {TEXT 26 23 "Maple Advisor Database " }{TEXT -1 16 " R. Israel, 1999 " }}}}{MARK "3 0 8" 5 }{VIEWOPTS 1 1 0 1 1 1803 1 1 1 1 }{PAGENUMBERS 0 1 2 33 1 1 }