MathGroup Archive 2004

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

Search the Archive

Re: pattern matching and droping elements from list of lists.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg49773] Re: pattern matching and droping elements from list of lists.
  • From: Bill Rowe <readnewsciv at earthlink.net>
  • Date: Fri, 30 Jul 2004 06:02:25 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

On 7/29/04 at 7:46 AM, sean_incali at yahoo.com (sean kim) wrote:

>Outer[List, {a, b, c}, {a, b, c}, {a, b, c}]

>will output

<output snipped>

>how do I remove {a,a,a} and {b,b,b} and {c,c,c} from above?

DeleteCases[Outer[List, 
   {a, b, c}, {a, b, c}, 
   {a, b, c}], {x_, x_, x_}, 
  3]
--
To reply via email subtract one hundred and four


  • Prev by Date: Re: how to effectively define a subsection function
  • Next by Date: Re: Pad a sign - and + to a list of lists
  • Previous by thread: Re: pattern matching and droping elements from list of lists.
  • Next by thread: Re: pattern matching and droping elements from list of lists.