Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2002

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

Search the Archive

Re: Length and Drop

  • To: mathgroup at
  • Subject: [mg32215] Re: Length and Drop
  • From: "Steve Gray" <stevebg at>
  • Date: Sun, 6 Jan 2002 03:38:31 -0500 (EST)
  • References: <a13vdg$dgm$>
  • Sender: owner-wri-mathgroup at

    Thanks to all who answered. I found this obvious
error soon after I made the post.

"Steve Gray" <stevebg at> wrote in message
news:a13vdg$dgm$1 at
>     The following sequence seems wrong to  me, in that
> after dropping some elements from a list, its Length is
> still the same. I copied this directly from the notebook
> but removed the In[] and Out[] statements.
> timexp={{0,0}} -> {{0,0}}        [this is ok]
> timexp=Append[timexp,{7,8}] -> {{0,0},{7,8}}       [this is ok]
> Length[timexp] -> 2             [this is ok]
> Drop[timexp,1] -> {{7,8}}         [this is ok]
> Length[timexp] -> 2                    [ this is what I did not expect!]
>     Should not Drop reduce the Length of the list by the amount
> dropped?

  • Prev by Date: Wrestling with Mathematica on Trig Simplification
  • Next by Date: arranging a list
  • Previous by thread: Re: Length and Drop
  • Next by thread: Testing that the elements are a list are exponential