Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

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/


  • Prev by Date: Re: On constants and D's behaviour
  • Next by Date: Re: How to prevent from simplification?
  • Previous by thread: On constants and D's behaviour
  • Next by thread: Re: On constants and D's behaviour