MathGroup Archive 2005

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

Search the Archive

D[...] change in 5.1


Hi, 

In previous version two lines below seemed to work as intended:

In: 
n /: D[n[i_], x[j_], NonConstants -> {n,r}] := (1/r)( d[i,j] - n[i] n[j] );
D[ 1 + n[k], x[l] ]

Out: (-n[k] n[l] + d[k,l]) \ r

But now in ver 5.1 I get something like:
Out: D[n, x[l], NonConstants -> {J, r, n}] (1)

The funny part is that D[ n[k], x[l] ] is recognized and substituted by the
expression associated with definition of n.

I wonder whether there is a possibility to get Mathematica 5.1 recognize
n[k] as an indexed symbol n.

Thanks.
Alexei Akolzin.


  • Prev by Date: positive square root
  • Next by Date: Re: Simplify
  • Previous by thread: Re: positive square root
  • Next by thread: Light and surface colors