Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #9020
| From | roby <roby.nowak@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Mathematica loop help |
| Date | 2012-03-14 05:35 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jjpanh$p0n$1@smc.vnet.net> (permalink) |
| References | <jjmvdg$ckl$1@smc.vnet.net> |
On 13 Mrz., 09:10, Martin Scherer <martin.sche...@gcsc.uni-
frankfurt.de> wrote:
> Hi Anshu and Bill,
>
> I'am also very interested in the question whether you could back substitute the solution #i to the FindRoot #i+1 call. Please let me know, if and how you solved the problem!
>
> The solutions of FindRoot are in the format:
> {as -> 10., hs -> 1., ws -> 30., asl -> 10.0001, wsl -> 31.0003}
>
> and the starting solution is in format
> startSols := {{as , a}, {hs, h}, {ws, w}, {asl, a}, {wsl, w}}
>
> I think you need to convert the solutions list to a nested list {{x, number}, ...} again, so it can be used by FindRoot...
>
> Thank you in advance,
>
> Greetings,
> Martin
perhaps you ar looking for:
In[30]:= List@@@{as->10.,hs->1.,ws->30.,asl->10.0001,wsl->31.0003}
Out[30]= {{as,10.},{hs,1.},{ws,30.},{asl,10.0001},{wsl,31.0003}}
Robert
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Mathematica loop help Martin Scherer <martin.scherer@gcsc.uni-frankfurt.de> - 2012-03-13 08:10 +0000 Re: Mathematica loop help roby <roby.nowak@gmail.com> - 2012-03-14 05:35 +0000 Re: Mathematica loop help "jf.alcover" <jf.alcover@gmail.com> - 2012-03-14 05:48 +0000
csiph-web