Re: Question about Cases command.
- To: mathgroup at yoda.physics.unc.edu
- Subject: Re: Question about Cases command.
- From: Count Dracula <lk3a at kelvin.seas.virginia.edu>
- Date: Tue, 28 Jun 1994 14:10:32 -0400
I there is a syntax problem in your input: Mathematica 2.2 for IBM RISC System/6000 Copyright 1988-93 Wolfram Research, Inc. -- Motif graphics initialized -- In[1]:= list={Derivative[1,2][a][x,y], Derivative[1,1][b][x,y]}; In[2]:= Cases[list, Derivative[__][a][__]] (1,2) Out[2]= {a [x, y]} and Cases works as you would expect. _______________________________________________________________ Levent Kitis Department of Mechanical, Aerospace and Nuclear Engineering Thornton Hall McCormick Road University of Virginia Charlottesville, Virginia 22903 USA 804-924-6230 lk3a at cars.mech.virginia.edu 804-924-3291 lk3a at kelvin.seas.virginia.edu _______________________________________________________________