MathGroup Archive 2000

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

Search the Archive

Re: Select Output of FindMinimum

  • To: mathgroup at smc.vnet.net
  • Subject: [mg25714] Re: [mg25658] Select Output of FindMinimum
  • From: BobHanlon at aol.com
  • Date: Thu, 19 Oct 2000 04:35:37 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

In a message dated 10/18/2000 3:41:55 AM, gunz at treangeli.at writes:

>Im having troubles selecting the output of the FindMinimum-Function:
>
>minimize =
>  FindMinimum[(neupunkte[[1]] - splinespec[u]).(neupunkte[[1]] -
>          splinespec[u]), {u, 0.0001, splinespec[[2, 2]]}, Compiled ->
>True]
>
>OUT: {0.00138329, {u -> 1.88935}}
>
>What I need for further calculations is the value of u ... and I don´t
>know
>how to extract that information.
>

result = {0.00138329, {u -> 1.88935}};

u /. result[[2]]

1.88935

result[[2, 1, 2]]

1.88935


Bob Hanlon


  • Prev by Date: Re: COLOR IN PLOT VECTOR FIELD
  • Next by Date: Re: Bugs in Abs and Sign !?
  • Previous by thread: Select Output of FindMinimum
  • Next by thread: Re: Select Output of FindMinimum