Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

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

Search the Archive

Re: Removing Outer Braces

  • To: mathgroup at smc.vnet.net
  • Subject: [mg14343] Re: Removing Outer Braces
  • From: "Allan Hayes" <hay at haystack.demon.co.uk>
  • Date: Thu, 15 Oct 1998 00:28:47 -0400
  • References: <6vup6j$8h7@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Dennis:
FindRoot has attribute HoldAll.
Try
FindRoot[Eqn, Evaluate[Sequence @@ Guesslist]]

Allan

----------------------
Allan Hayes
Mathematica Training and Consulting
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565


Dennis Benjamin wrote in message <6vup6j$8h7 at smc.vnet.net>...
>Hi All:
>
> First off , thanks again to everyone who sent  email answering my
>previous question.
>
> I have constructed a list of initial guesses for FindRoot, this list
>looks something like:
>
>GuessList={{RP[1],1.2,0.0,3},{RP[2],2.0,0.0,5.0},{RP[3],0.5,0.0,1.0}}
>
>although there are tens-hundreds of RP[n]. What I want to do is write
>
>FindRoot[Eqn,GuessList]
>
>
>How do I remove the outer braces of GuessList in order to do this?I
>found a solution to a similar problem in the MathGroup archives,
>
>FindRoot[Eqn,Apply[##&,Guesslist]] or  FindRoot[Eqn, Sequence @@
>Guesslist]
>
>but neither seemed to work (Mathematica 3.01, Winows NT)
>
>Thankks in advance for any suggestions!
>
>Dennis
>
>
>



  • Prev by Date: Re: Error in CrossProduct at spherical coordinates  (Version 2.2)
  • Next by Date: Re: Mesh on graphics3D objects
  • Previous by thread: Re: Removing Outer Braces
  • Next by thread: RE: Removing Outer Braces