MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Clearing function definitions by argument type?

  • To: mathgroup at
  • Subject: [mg57243] Clearing function definitions by argument type?
  • From: Gareth Russell <gjr2008 at>
  • Date: Sat, 21 May 2005 02:41:16 -0400 (EDT)
  • Organization: Columbia University
  • Sender: owner-wri-mathgroup at

Hi Group,

Is there a straightforward way to Clear only definitions that  take 
certain kinds of arguments? For example, I might have


and want to clear all f[number] definitions but not the DelayedSet 
definition. (Note that the number of f[number] definitions will vary, 
as will the numbers that each one takes as an argument.)

My goal is to clear 'memorized' definitions after an optimization run, 
where the memorized definitions are generated by a


type of function, without clearing the function itself.

Gareth Russell
Columbia University

  • Prev by Date: Re: GridLines issue
  • Next by Date: Re: NonLinearRegress and constraint parameters
  • Previous by thread: Re: Non linear System of inequalities
  • Next by thread: Re: Clearing function definitions by argument type?