MathGroup Archive 2005

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

Search the Archive

subtle dumb question


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