MathGroup Archive 2009

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

Search the Archive

Re: Length of a held expression


Remember, Hold[{b,3}] is really just Hold[List[b,3]].

And what you're looking for is something like: Length[Hold[b,3]].

So replace head List with Hold, and head Hold with Length.

Length @@ Hold @@@ Hold[{b,3}]


  • Prev by Date: Why does Derivative fail in this case?
  • Next by Date: Printing large symbolic matrices
  • Previous by thread: Re: Length of a held expression
  • Next by thread: Re: Length of a held expression