Re: D[...] change in 5.1
- To: mathgroup at smc.vnet.net
- Subject: [mg58694] Re: D[...] change in 5.1
- From: dh <dh at metrohm.ch>
- Date: Fri, 15 Jul 2005 03:02:10 -0400 (EDT)
- References: <db57qa$4ri$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi Alexei, $Version 5.1 for Microsoft Windows (October 25, 2004) Why do you need: "NonConstants -> {n,r}", that does not make sense. Without it it works. sincerely, Daniel Alexei Akolzin wrote: > 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. >