comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » shorten a vector
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
shorten a vector [message #21630] Thu, 07 September 2000 18:49
noymer is currently offline  noymer
Messages: 65
Registered: June 1999
Member
Dear c.l.i-p,

What's the easiest way to shorten an array by n units
by chopping off the first n elements of the array.

E.G: I want to make [ 4 6 7 20 15 ]

Into [ 6 7 20 15]. Here n=1.

The ways I have figured out to do this are pretty
messy - there must be something simple. (Well, there
is is S-plus :-).

TIA,
Andrew



Sent via Deja.com http://www.deja.com/
Before you buy.
[Message index]
 
Read Message
Previous Topic: geometric mean?
Next Topic: Re: shorten a vector

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 05:27:18 PDT 2025

Total time taken to generate the page: 1.99922 seconds