comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Function Maximum
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Function Maximum [message #35487 is a reply to message #35486] Thu, 19 June 2003 09:27 Go to previous messageGo to previous message
James Kuyper is currently offline  James Kuyper
Messages: 425
Registered: March 2000
Senior Member
Benjamin Panter wrote:
...
> An inelegant solution that might work is to evaluate the funtion in the
> range of interest to as high a precision as is computationally possible
> - and then run MAX() on it - but there must be a nicer way? I think this
> method will fall down if there is a very sharp global max but a wider
> local max
>
> Apologies for not being much of a mathematician and failing to provide a
> better way!

Actually, for an arbitrary function, the method you describe is the only
method that is absolutely guaranteed to find the true maximum value. Any
method that is faster than that one is based upon assumptions about the
function, such as the assumption that it is reasonably smooth.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: recording macros
Next Topic: Return of the GIF?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:09:42 PDT 2025

Total time taken to generate the page: 0.00682 seconds