Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

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

Search the Archive

Re: pairing values from a list

  • To: mathgroup at smc.vnet.net
  • Subject: [mg119782] Re: pairing values from a list
  • From: Priyan Fernando <priyan.fernando at gmail.com>
  • Date: Wed, 22 Jun 2011 03:44:14 -0400 (EDT)
  • References: <201106211235.IAA23920@smc.vnet.net> <6371475F7C873A4CA2F9BBABC115837E07B7E7A0@nycexch.local.atlanticphilanthropies.org>

Thanks everyone!

On 21 June 2011 18:17, Harvey P. Dale <hpd1 at nyu.edu> wrote:

> Partition[y,2]
>
>        Best,
>
>        Harvey
>
> -----Original Message-----
> From: Priyan Fernando [mailto:priyan.fernando at gmail.com]
> Sent: Tuesday, June 21, 2011 8:36 AM
> To: mathgroup at smc.vnet.net
> Subject: pairing values from a list
>
>
> 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!
>
>
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________
>



-- 
Thanks and Regards,
Priyan Fernando

Mob. +94 772 622 368


  • Prev by Date: Re: How to transform a functional expression into a general expression
  • Next by Date: Re: random financial portfolios
  • Previous by thread: pairing values from a list
  • Next by thread: Re: pairing values from a list