Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #5677 > unrolled thread
| Started by | Heike Gramberg <heike.gramberg@gmail.com> |
|---|---|
| First post | 2011-10-16 11:14 +0000 |
| Last post | 2011-10-16 11:14 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: How to create this kind of list Heike Gramberg <heike.gramberg@gmail.com> - 2011-10-16 11:14 +0000
| From | Heike Gramberg <heike.gramberg@gmail.com> |
|---|---|
| Date | 2011-10-16 11:14 +0000 |
| Subject | Re: How to create this kind of list |
| Message-ID | <j7eeb2$eju$1@smc.vnet.net> |
You'll probably get a lot of answers to this question, but I normally do something like
Transpose[{A,B}]
Heike.
On 15 Oct 2011, at 12:04, Szymon Roziewski wrote:
> Hello there,
> I am thinking about creating such a list.
> I have 2 lists with the same number of elements.
> The idea is to create one list which was taken from these previous two ones
> in the following way:
> Take one element of the first list and one from another and put it into
> result list {{x1,y1},{x2,y2},...,{xn,yn}}.
> Input lists:
> A={x1,x2,...,xn}
> B={y1,y2,...,yn}
>
> All best,
> Szymon Roziewski
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web