https://github.com/jsoftware/math_deoptim/blob/master/deoptim.ijs#L60

This took me a bit to figure out.

It looks like deoptim was put into a J locale (pdeoptim) without
testing that it still functions in that context.

Anyways... adding a note in the comments about the locale issue is
probably a useful place to start. (I don't know what a good comment
would be, though, since I have not been using deoptim. So, for me, I
would first need to sit down with some nice examples.)

That said, adding

   coinsert 'base'

to the top of deoptim.ijs might be a good idea.

Thanks,

-- 
Raul



On Wed, May 11, 2022 at 10:36 AM David Lambert <b49p23t...@gmail.com> wrote:
>
> Suggestion: please amend the comment section to explicitly state that
> func include locale.  It now reads
>
> NB.-y: 2-item list of boxed arguments
> NB.-     0{ func - String naming a function f(x,y) to minimize, with
> first argument
> NB.-             the vector of variables over which minimization is to
> take place.
> NB.-             It should return a scalar result. Empty values are not
> allowed.
>
> Thank you, David Lambert
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to