Re: NDSolve::mconly error
- To: mathgroup at smc.vnet.net
- Subject: [mg59277] Re: [mg59254] NDSolve::mconly error
- From: Chris Chiasson <chris.chiasson at gmail.com>
- Date: Thu, 4 Aug 2005 02:08:00 -0400 (EDT)
- References: <200508030519.BAA06383@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
out of curiosity, what happens if you type: Clear[W] ndsolut[1+I] On 8/3/05, topolog at gazeta.pl <topolog at gazeta.pl> wrote: > Dear Mathematica users! > > I can not pass a Complex number as an argument to the function below. > An error occures: > > > NDSolve::mconly: > For the method NDSolve`IDA, only machine real code is available. > Unable to > continue with complex values or beyond floating point exceptions. > > > Everethying is ok, when the number is declared as Real, but I > suppose it is so. > > The function is of the form: > > ndsolut[W_?NumberQ] := NDSolve[eqset /. {w -> W}, dVar, {z, z1, z2}, > SolveDelayed -> True]; > > where 'eqset' is a set of differential equations, 'dVar' is a > function to be solved, z - independent variable, w/W - parameters > (complex in general). > > The function is called in a following way: > > W = 1.+1.*\[ImaginaryI] > ndsolut[W] > > > I will appreciate any suggestions > > Thank you and best regards > > Rafal Kosinski > > > > > -- Chris Chiasson http://chrischiasson.com/ 1 (810) 265-3161
- References:
- NDSolve::mconly error
- From: <topolog@gazeta.pl>
- NDSolve::mconly error