MathGroup Archive 2005

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

Search the Archive

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


  • Prev by Date: Re: Re: <<RealTime3D`
  • Next by Date: Re: split list equation
  • Previous by thread: Simple list operation
  • Next by thread: Re: Simple list operation