|
[Date Index]
[Thread Index]
[Author Index]
Re: NDSolve Question
- To: mathgroup at smc.vnet.net
- Subject: [mg86351] Re: NDSolve Question
- From: Szabolcs Horvát <szhorvat at gmail.com>
- Date: Sun, 9 Mar 2008 05:01:44 -0500 (EST)
- Organization: University of Bergen
- References: <fqtqmp$d82$1@smc.vnet.net>
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
|