MathGroup Archive 2008

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

Search the Archive

Re: NDSolve Question


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