Function minimization [message #53454] |
Thu, 12 April 2007 10:51 |
istvan
Messages: 1 Registered: April 2007
|
Junior Member |
|
|
I wish to minimize a function, that is, to find the abscissa
corresponding to
the minimum function value. The IDL procedure minF_parabolic exists
for this express purpose, but the discussion of how to implement it
is
frustratingly vague, e.g.,
; Calling mechanism should be: F = func_name( px )
; where:
; px = scalar or vector of independent
variables, input.
; F = scalar value of function at px.
I have been singularly unsuccessful on implementing a procedure/
function which implements minF_parabolic to minimize a quadratic
function. Specifically, I am not at all clear how any function gets
minimized if only a scalar - px - is being passed. Wouldn't one want
to pass an array of independent variables?
I'd appereciate any specific examples of implementation of this
procedure
Steve Asztalos
|
|
|