Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1999
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

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

Search the Archive

Non standard evaluation troubles.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg20448] Non standard evaluation troubles.
  • From: iioannou at u.washington.edu (I. Ioannou)
  • Date: Tue, 26 Oct 1999 00:33:24 -0400
  • Organization: University of Washington, Seattle
  • Sender: owner-wri-mathgroup at wolfram.com

Hi all,

I've got a problem with Plot and Table "non-standard" evaluation.

When I specify list1=Table[Evaluate[function[ksi]],{ksi,1,2,0.01}]

I get 100 numbers that are not the values at ksi 1, 1.01, 1.02,...

The same happens with Plot of the function.

When I type function[1] I get the proper value though. Must be that ksi is
held unevaluated and ends up mangled in my function. (which is a module
that I wrote)

How can I avoid this kind of behavior? I don't quite understand at this
point the various evaluation schemes of Mathematica very well. Any
didactic pointers wellcome.

Thanks, John
-- 
      Ioannis   I    Ioannou                   phone: (206)-543-1372
      g-2 group, Atomic Physics                fax:   (206)-685-0635
      Department of Physics           
      University of Washington        e-mail: iioannou at u.washington.edu


  • Prev by Date: Re: Urgent Help needed
  • Next by Date: Matrices-in-functions question
  • Previous by thread: Re: FourierTransform Bug V4
  • Next by thread: Re: Non standard evaluation troubles.