MathGroup Archive 1992

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

Search the Archive

Count[{Unevaluated[a]},Unevaluated[a]]

  • To: mathgroup at yoda.physics.unc.edu
  • Subject: Count[{Unevaluated[a]},Unevaluated[a]]
  • From: Michael.Trott at physik.tu-ilmenau.de
  • Date: Mon, 23 Nov 1992 19:10:50 +0000

 Hi cummunity,

 the above gives - a little bit surprisingly for me - 0.
 With a third argument: Count[{Unevaluated[a]},Unevaluated[a],{-1}]
 the result is 1 (as expected). Using On[] one sees that 
 Count "evaluates" its arguments. Literal instead of Unevaluated gives
 a similar result.
 Why does Count do this?

 Thanks for an answer,

 Michael Trott

 trott at physik.tu-ilmenau.de







  • Prev by Date: nonlinear two point boundary problems
  • Next by Date: Bug report / Re: Mathematica/MS Word/Postscript problem
  • Previous by thread: Materials for Multivariable Calculus
  • Next by thread: Bug report / Re: Mathematica/MS Word/Postscript problem