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