MathGroup Archive 2008

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

Search the Archive

Re: NDSolve Question

  • To: mathgroup at
  • Subject: [mg86351] Re: NDSolve Question
  • From: Szabolcs Horvát <szhorvat at>
  • Date: Sun, 9 Mar 2008 05:01:44 -0500 (EST)
  • Organization: University of Bergen
  • References: <fqtqmp$d82$>

David Park wrote:
> I found the answer, which is to use:
> f[q_?NumberQ]:= ...
> which prevents an initial evaluation.

This should be

f[q_?NumericQ] := ...

because Pi or Sqrt[3] are not atomic numbers, but they are numerical 
quantities.  Of course if f[q] is *only* used with NDSolve, then it 
doesn't matter ...

  • Prev by Date: Path to *.m file
  • Next by Date: Re: Another Mathematica 6 bug?
  • Previous by thread: Re: NDSolve Question
  • Next by thread: Re: NDSolve Question