Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!udel!brahms.udel.edu!fmaster From: fmaster@chopin.udel.edu (Fred A Masterson) Newsgroups: comp.lang.apl Subject: Re: WANTED: APL maximization function Message-ID: <16840@chopin.udel.edu> Date: 1 Apr 91 02:51:19 GMT References: <20114@brahms.udel.edu> <31MAR91.00533434@uc780.umd.edu> Organization: University of Delaware Lines: 25 In article <31MAR91.00533434@uc780.umd.edu> cs450a03@uc780.umd.edu writes: >Fred Masterson writes: >>I am seeking an APL function that will maximize a function of >>one variable, i.e., find the value of x that maximizes f(x). > >Gee.. uh... could you maybe give a few more hints about the kind of >problem you are talking about? Maybe we should just assume that x is >intended to be a floating-point scalar, and that any local maxima of f >is a suitable answer? > >Also, how important is it that the routine be a "function"? Often >interactive routines are quite powerful (and potentially instructive). > >Raul Rockwell O.K., here are the hints: x is indeed a floating point scalar a local maximum would be just fine an interactive (no returned value) procedure would be fine Fred Masterson fmaster@chopin.udel.edu University of Delaware