pattern matching and droping elements from list of lists.
- To: mathgroup at smc.vnet.net
- Subject: [mg49742] pattern matching and droping elements from list of lists.
- From: sean_incali at yahoo.com (sean kim)
- Date: Thu, 29 Jul 2004 07:46:12 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
hello group, Outer[List, {a, b, c}, {a, b, c}, {a, b, c}] will output {{ {{a, a, a}, {a, a, b}, {a, a, c}}, {{a, b, a}, {a, b, b}, {a, b, c}}, {{a, c, a}, {a, c, b}, {a, c, c}}}, {{{b, a, a}, {b, a, b}, {b, a, c}}, {{b, b, a}, {b, b, b}, {b, b, c}}, {{b, c, a}, {b, c, b}, {b, c, c}}}, {{{c, a, a}, {c, a, b}, {c, a, c}}, {{c, b, a}, {c, b, b}, {c, b, c}}, {{c, c, a}, {c, c, b}, {c, c, c}} }} how do I remove {a,a,a} and {b,b,b} and {c,c,c} from above? thanks all in advance for any insights sean
- Follow-Ups:
- Re: pattern matching and droping elements from list of lists.
- From: Ken Levasseur <klevasseur@mac.com>
- Re: pattern matching and droping elements from list of lists.
- From: DrBob <drbob@bigfoot.com>
- Re: pattern matching and droping elements from list of lists.
- From: Oleksandr Pavlyk <pavlyk@phys.psu.edu>
- Re: pattern matching and droping elements from list of lists.
- From: Selwyn Hollis <sh2.7183@misspelled.erthlink.net>
- Re: pattern matching and droping elements from list of lists.
- From: Sseziwa Mukasa <mukasa@jeol.com>
- Re: pattern matching and droping elements from list of lists.