Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #6590
| From | P Shar <puya.sharif@live.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Loop problem |
| Date | 2011-11-21 09:34 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jad5v2$ei4$1@smc.vnet.net> (permalink) |
Hey guys, i need a loop (that does the following) and can't figure out what to do..
I need a set of lists {i,j,k,l} i≠j≠k≠l, i≠j=k≠l, i≠j≠k=l, i≠k≠j=l where 0 < i,j,k,l < 3.
So basically all the cases where the first condition holds and all the cases there the second holds etc..
Easiest would be to get the output as a matrix with the {i,j,k,l}'s as rows.
Any ideas (or at least where to start)?
Cheers
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
Loop problem P Shar <puya.sharif@live.com> - 2011-11-21 09:34 +0000 Re: Loop problem Ray Koopman <koopman@sfu.ca> - 2011-11-22 10:33 +0000
csiph-web