Re: How to Remove Removed[Derivative]?
- To: mathgroup at smc.vnet.net
- Subject: [mg42834] Re: How to Remove Removed[Derivative]?
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Wed, 30 Jul 2003 19:30:24 -0400 (EDT)
- Organization: Universitaet Leipzig
- References: <bg7vso$hj9$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
you have to delete the SubValues[] of Derivative[] with
SubValues[Derivative] = {}
Regards
Jens
Vadym Lepetyuk wrote:
>
> Hello MathGroup:
>
> When I execute the following list of expressions (in Mathematica
> v.4.2) I expect to get "f'[5]" from the last expression instead
> of "3". Is it a bug or something else?
>
> ----------------------------
> f'[5]
> f'[_] = 2;
> f'[5]
> Remove[Derivative]
> f'[5]
> f'[_] = 3;
> f'[5]
> Remove[Derivative]
> f'[5]
> ----------------------------
>
> If Remove[] is replaced by Clear[] the output from the last
> expression is "f'[5]" as expected. Would it be the reason to
> always use Clear[] rather than Remove[]?
>
> Thank you,
> Vadym