|
[Date Index]
[Thread Index]
[Author Index]
Set construction with condition
- To: mathgroup at smc.vnet.net
- Subject: [mg61470] Set construction with condition
- From: "Edson Ferreira" <edsferr at uol.com.br>
- Date: Wed, 19 Oct 2005 23:07:19 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Dear Mathematica experts,
I have this definition of L which generates a list of 81 elements:
L=Flatten[Outer[StringJoin,{"1","X","2"},{"1","X","2"},{"1","X","2"},{"1","X","2"}]]
How can I modify this definition in order to generate only elements in which there are a maximum of 2 characters "1"?
Thanks!!!!!!!!!!!!!!
PS.: I don't want to filter the entire 81 elements set AFTER the generation. I want to generate it with the desired elements.
Prev by Date:
Re: Desperate help
Next by Date:
Re: Unsorted Union
Previous by thread:
Re: Window names in Mathematica under Linux/KDE
Next by thread:
Re: Set construction with condition
|