Re: Simple list operation
- To: mathgroup at smc.vnet.net
- Subject: [mg59433] Re: [mg59420] Simple list operation
- From: Adriano Pascoletti <pascolet at dimi.uniud.it>
- Date: Wed, 10 Aug 2005 02:55:14 -0400 (EDT)
- References: <200508090730.DAA19079@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Steve,
If you have Mathematica v. 5 use Most
Most /@ test
else
Drop[#, -1] & /@ test
Adriano Pascoletti
Il giorno 9 ago 2005, alle ore 09:30, Steve Gray ha scritto:
> test = { {{4, 5}, {5, 9}, {6, 2}},
> {{2, 3}, {3, 5}},
> {{7,1}, {9, 8}, {0, 7}, {2, 8}},
> {{4, 3}, {6, 5}}};
> test // ColumnForm
------------------------------------------------------------------------
--------
Adriano Pascoletti
Dipartimento di Matematica e Informatica
Universita' di Udine
Via delle scienze 206
I-33100 Udine
Italy
- References:
- Simple list operation
- From: Steve Gray <stevebg@adelphia.net>
- Simple list operation