Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1995
*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 1995

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

Search the Archive

[Q] Up values

  • To: mathgroup at christensen.cybernetics.net
  • Subject: [mg649] [Q] Up values
  • From: kessler at halley.sph.unc.edu (Marc Kessler)
  • Date: 6 Apr 1995 03:50:18 GMT

Why isn't the following code giving 

              (1,0)      2    
Out[6]= 4 lami     [x, y]      

as a result?

$ math
Mathematica 2.2 for VAX/VMS
Copyright 1988-93 Wolfram Research, Inc.
 -- Motif graphics initialized --

In[1]:= li = lami[x,y];

In[2]:= lami/: D[lami[x,y],{x,2}] = 0;

In[3]:= lami/: D[lami[x,y],{y,2}] = 0;

In[4]:= lami/: D[lami[x,y],x,y] = 0;

In[5]:= vert = 2li^2 - li;

In[6]:= D[vert,{x,2}]

              (1,0)      2       (2,0)                          (2,0)
Out[6]= 4 lami     [x, y]  - lami     [x, y] + 4 lami[x, y] lami     [x, y]

I have the same problem when I use 
   lami/: D[lami[x_,y_],{x_,2}] = 0;  ... 

Thanks for the help.
-- 
================================================================
Marc Kessler
Dept. Environmental Sciences and Engineering       Keep on
UNC-Chapel Hill                                    keepin' on
phone # (919)966-1372
E-mail kessler at halley.sph.unc.edu


  • Prev by Date: GraphTheory help needed
  • Next by Date: Mathematica 2.2.3 and WinNT 3.5
  • Previous by thread: GraphTheory help needed
  • Next by thread: Re: [Q] Up values