Re: On constants and D's behaviour
- To: mathgroup at smc.vnet.net
- Subject: [mg52462] Re: [mg52428] On constants and D's behaviour
- From: Andrzej Kozlowski <akoz at mimuw.edu.pl>
- Date: Sun, 28 Nov 2004 01:06:44 -0500 (EST)
- References: <200411270640.BAA17097@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
On 27 Nov 2004, at 07:40, Nicolas Girard wrote: > Dear people, > just a thought, from a frustrated mind: > > given that one can explicitely tell a symbol is a constant by modifying > its attributes, then why the hell doesn't the partial derivative D take > advantage of it, and treat nonconstant symbol as.... nonconstants, by > default ?? > > Cheers, > Nicolas > > > > Why should D duplicate another functions behaviour? Use Dt instead of D: Dt[c, x] Dt[c, x] SetAttributes[c, Constant] Dt[c, x] 0 Andrzej Kozlowski Chiba, Japan http://www.akikoz.net/~andrzej/ http://www.mimuw.edu.pl/~akoz/
- References:
- On constants and D's behaviour
- From: Nicolas Girard <nicolas.girard@strasbourg.fr>
- On constants and D's behaviour