MathGroup Archive 2005

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

Search the Archive

subtle dumb question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg55574] subtle dumb question
  • From: Chris Chiasson <chris.chiasson at gmail.com>
  • Date: Wed, 30 Mar 2005 03:21:08 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Dear MathGroup,

What is the fastest/neatest/most efficient way to do the following?:

blah={{beta,{a,b,c}},{zeta,{x,y,z}}}

<<magic here>>

{{beta,b},{zeta,y}}

What if a have a list of blahs and I want a list of those magic
results for each blah?

Is there a way to use part (or take or extract) on blah or the list of blahs?

Thank you for your valuables,
(heh)
-- 
Chris Chiasson
Kettering University
Mechanical Engineering
Graduate Student
1 810 265 3161


  • Prev by Date: Re: Questions about Abs[_]
  • Next by Date: Re: how to make conditional summation
  • Previous by thread: Re: Multiple regression best subset
  • Next by thread: Re: subtle dumb question