Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1994
*January
*February
*March
*April
*May
*June
*July
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1994

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

Search the Archive

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
 _______________________________________________________________






  • Prev by Date: Re: *Matrix witihn matrix*
  • Next by Date: Re: *Matrix witihn matrix*
  • Previous by thread: Question about Cases command.
  • Next by thread: Re: Question about Cases command.