Re: D attributes
- To: mathgroup at smc.vnet.net
- Subject: [mg27752] Re: D attributes
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Wed, 14 Mar 2001 04:06:50 -0500 (EST)
- Organization: Universitaet Leipzig
- References: <98knl3$pnd@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, perhaps it has somwhere the definition D[l_List,arg_]:=D[#,arg] & /@ l ?? Listable can't provide a definition: "Listable with respect to the first argument." or "Listable with respect to the 22th argument." Regards Jens Arturas Acus wrote: > > Dear Group, > > This is very simple question. > What is the D function mechanism which let it > to go inside lists. See example > > In[1]:= > $Version > Out[1]= > "4.0 for Linux (April 21, 1999)" > > In[2]:= > Attributes[D] > Out[2]= > {Protected, ReadProtected} > > In[3]:= > D[{x, y, {x}}, x] > Out[3]= > {1, 0, {1}} > > Why it goes inside lists if there is no Listable > attribute? The same test is true for 4.1 also. > > Sincerely, Arturas > > > Dr. Arturas Acus > Institute of Theoretical > Physics and Astronomy > Gostauto 12, 2600,Vilnius > Lithuania > > E-mail: acus at itpa.lt > Fax: 370-2-225361 > Tel: 370-2-612906