home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / sci / math / symbolic / 2265 < prev    next >
Encoding:
Internet Message Format  |  1992-08-25  |  966 b 

  1. Path: sparky!uunet!wupost!sdd.hp.com!uakari.primate.wisc.edu!ames!agate!boulder!sherod
  2. From: sherod@newton.Colorado.EDU (Scott Herod)
  3. Newsgroups: sci.math.symbolic
  4. Subject: Work around for bug with Dt in Mma
  5. Message-ID: <1992Aug26.023123.5358@colorado.edu>
  6. Date: 26 Aug 92 02:31:23 GMT
  7. Sender: news@colorado.edu (The Daily Planet)
  8. Organization: University of Colorado, Boulder
  9. Lines: 19
  10. Nntp-Posting-Host: newton.colorado.edu
  11.  
  12. I posted something about this bug a while ago and then changed code
  13. to avoid it.  Now I must deal with it again and could use some
  14. help if others have found a way to correct it.
  15.  
  16. The problem is in pattern matching with the Dt command.
  17.  
  18. In version 2.0 for Suns
  19.  
  20. In[1] := r = Dt[u,{x,c_}] :> y[c]
  21.  
  22. Out[1] = 0 :> y[c]
  23.  
  24. (From memory since I'm can't run windows here.)
  25.  
  26. The problem seems to be that Dt evaluates to zero if the space where
  27. "c" is is anything but an integer.  Can someone suggest a fix?
  28.  
  29. Scott Herod
  30. (sherod@newton.colorado.edu)
  31.