Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

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

Search the Archive

Loop problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg123036] Loop problem
  • From: P Shar <puya.sharif at live.com>
  • Date: Mon, 21 Nov 2011 04:27:50 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

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



  • Prev by Date: Is it possible to define new color schemes?
  • Next by Date: Help: Regular expressions
  • Previous by thread: Re: Is it possible to define new color schemes?
  • Next by thread: Re: Loop problem