[TIB] Re: ti-basic Digest V2 #127


[Prev][Next][Index][Thread]

[TIB] Re: ti-basic Digest V2 #127



lol ok
----- Original Message -----
From: "Arthur J. O'Dwyer" <ajo@andrew.cmu.edu>
To: <ti-basic@lists.ticalc.org>
Sent: Friday, December 06, 2002 6:36 PM
Subject: [TIB] Re: ti-basic Digest V2 #127


>
> General note: As a courtesy to readers like myself who get only the
> digest form of the mailing list, please snip your replies so that we
> don't have to wade through lots of repetitive >>>>> lines.  Thanks.
> (This was particularly bad with the "VTI" thread.)
>
> On Sat, 7 Dec 2002, Ecartis wrote:
> > ti-basic Digest Fri, 06 Dec 2002 Volume: 02  Issue: 127
> > ----------------------------------------------------------------------
> > From: "Andrey" <ag_silver_83p@ameritech.net>
> > Subject: [TIB] Re: greatest integer??
> > Date: Thu, 5 Dec 2002 22:47:24 -0600
> >
> > Hmm, do you know this:?  You have two lists: L1={1,3,4,2},
L2={1,2,3,4} --
> > you execute    SortA(L1,L2)    and see what L1 and L2 are now (not both
> > {1,2,3,4}).
> >
>
> On the TI-83/+, this sorts L1 and L2 in parallel, as if you were sorting
> pairs of elements indexed on the first element.  That is, L2 ends up as
> {1,4,2,3}.
>
> > ------------------------------
> > From: "Andrey" <ag_silver_83p@ameritech.net>
> > Subject: [TIB] Re: greatest integer??
> > Date: Thu, 5 Dec 2002 22:52:20 -0600
> >
> > "Arthur J. O'Dwyer" wrote:
> > > The easy way is to take max(LHIGH).  This only works if LHIGH is
exactly
> > > four elements long, of course.
> > ???
> > Why do you say of course only four elements??
>
> Because if LHIGH was {1,2,3,4,5} and you took max(LHIGH), you would *not*
> get the highest value of LHIGH(1), LHIGH(2), LHIGH(3), LHIGH(4); instead,
> you'd get the maximum of the entire list, which would be 5.  The OP asked
> about four-element maxima in particular.
>
> -Arthur
>
>




References: