I tried to update chapter 23 of the "50 Shades of J" essay using the new
version of Newton's method from "
https://code.jsoftware.com/wiki/Essays/Newton%27s_Method"; but this breaks
examples in "50 Shades", e.g.

   f1=: #.&1 _1 _2&>   NB. Function to use
   Newton=: adverb : ']-u % (u deriv_jcalculus_ 1'
   f1 Newton 1
|domain error: deriv_jcalculus_
|       13!:8(3)
|deriv_jcalculus_[:19]

Is this a known issue?

I've left my "fix" in as the existing code will also break in the current
version of J.

-- 

Devon McCormick, CFA

Quantitative Consultant
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to