Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #16296
| From | amannucci <Anthony.J.Mannucci@jpl.nasa.gov> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Creating an ordered list of pairs |
| Date | 2013-12-01 13:22 +0000 |
| Message-ID | <l7fd6s$k56$1@smc.vnet.net> (permalink) |
| Organization | Time-Warner Telecom |
How do I create an ordered list of pairs of the following structure:
{{x1,y1}, {x2,y2}, {x3,y3}, ...} ? I want x1, x2, and x3 to be increasing in constant-interval steps (e.g. 1,2,3) and similarly for the y's (e.g. 5,10,15). E.g.
{{1,5}, {1,10}, {1,15}, {2, 5}, {2,10}, ...} etc.
I cannot figure out how to do this with Table or Array. Is there another function that will do this?
Table does not create the correct nesting or structure.
Thanks!
-Tony
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
Creating an ordered list of pairs amannucci <Anthony.J.Mannucci@jpl.nasa.gov> - 2013-12-01 13:22 +0000 Re: Creating an ordered list of pairs Szabolcs Horvát <szhorvat@gmail.com> - 2013-12-02 06:45 +0000 Re: Creating an ordered list of pairs "Dr. Wolfgang Hintze" <weh@snafu.de> - 2013-12-02 06:47 +0000
csiph-web