Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #3235
| From | "McHale, Paul" <Paul.McHale@excelitas.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: pairing values from a list |
| Date | 2011-06-22 07:42 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <its6ci$5u1$1@smc.vnet.net> (permalink) |
Partition[ y, 2]
[This was the first of 10 or so posts with exactly the same answer, so I
am posting this one only. Others who posted were Bob Hanlon, Sseziwa Mukasa,
James Womack, Adriano Pascoletti, Vivek Joshi, DrMajorBob, DC,
Sjoerd C. de Vries, and Harvey P. Dale -- moderator]
On Jun 21, 2011, at 7:54 AM, "Priyan Fernando" <priyan.fernando@gmail.com>
wrote:
>
> y={0.245885, 0.334158, 0.115671, 0.0335952, 0.211846, 0.263921}
>
> can someone pls tell me how you would go about pairing this list? so that:
>
> y={{0.245885, 0.334158},{ 0.115671, 0.0335952},{ 0.211846, 0.263921}}
>
> thanks!
>
>
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: pairing values from a list "McHale, Paul" <Paul.McHale@excelitas.com> - 2011-06-22 07:42 +0000
csiph-web