If the addon is supposed to replicate and improve the primitives, is there
a reason they cannot be kept as short cuts in the final release (as is
apparently done for the fold primitives and the dev/fold addon)?

This would solve a lot of backward compatibility issues (aside of typing
work or boilerplate code like ddot=: deriv_jcalculus_).

Just a thought.

Jan-Pieter

On Tue, Sep 3, 2019, 22:19 Ric Sherlock <[email protected]> wrote:

> Makes sense then! Thanks
>
> On Wed, Sep 4, 2019 at 8:15 AM Henry Rich <[email protected]> wrote:
>
> > It works for this beta.  I left d. D. D: in for easy comparison with the
> > new code.  The primitives are slated for removal in the release.
> >
> > Henry Rich
> >
> > On 9/3/2019 4:13 PM, Ric Sherlock wrote:
> > > Should the following still work?
> > >
> > > In a fresh session:
> > >
> > > N=: 1 : '- u % u d. 1'
> > >
> > > (_2 + *:) N^:3 ]1
> > >
> > > 1.41422
> > >
> > > JVERSION
> > >
> > > Engine: j901/j64avx/windows
> > >
> > > Beta-i: commercial/2019-08-29T09:48:23
> > >
> > > Library: 9.01.09
> > >
> > > Qt IDE: 1.8.3/5.12.3
> > >
> > > Platform: Win 64
> > >
> > > Installer: J901 install
> > >
> > > InstallPath: c:/program files/j901
> > >
> > > Contact: www.jsoftware.com
> > >
> > >
> > >
> > > Given the release notes "*Language deletion*: calculus primitives (d.
> D.
> > D:)
> > > are removed from the language" I was expecting to get an error and have
> > to
> > > redefine N using deriv_jcalculus.
> > >
> > > On Wed, Sep 4, 2019 at 2:44 AM Henry Rich <[email protected]>
> wrote:
> > >
> > >> If you need the inverse to !, you can use Roger's
> > >>
> > >> 3 : '(-(!-y"_)%0.001&*!"0 D:1])^:_<.&170^:(-:+)^.y'
> > >>
> > >> replacing D: with sslope_jcalculus_  (untested).  You could even fix
> it
> > >> up to avoid the NaN error.
> > >>
> > >> Henry Rich
> > >>
> > >>
> > >>
> > >> On 9/3/2019 10:39 AM, Don Guinn wrote:
> > >>> Well I previously reported it to beta. So here it is again.
> > >>>
> > >>> To determine the inverse of factorial uses D: . In J807 forcing a
> > >>> deliberate error give the following:
> > >>>
> > >>> ! inv 0.001
> > >>>
> > >>> |NaN error
> > >>>
> > >>> | (-(!-y"_)%0.001&*!"0 D:1])^:_<.&170^:(-:+)^.y
> > >>>
> > >>> In the middle of the magic function is D: .
> > >>>
> > >>> JVERSION
> > >>>
> > >>> Engine: j807/j64/windows
> > >>>
> > >>> Release-d: commercial/2019-03-18T13:21:35
> > >>>
> > >>> Library: 8.07.26
> > >>>
> > >>> Qt IDE: 1.7.10/5.9.7
> > >>>
> > >>> Platform: Win 64
> > >>>
> > >>> Installer: J807 install
> > >>>
> > >>> InstallPath: c:/j64-807
> > >>>
> > >>> Contact: www.jsoftware.com
> > >>>
> > >>> ! inv 6
> > >>>
> > >>> 3
> > >>>
> > >>> Works just fine in 807. But in latest beta
> > >>>
> > >>> ! inv 6
> > >>>
> > >>> |domain error
> > >>>
> > >>> | !inv 6
> > >>>
> > >>> JVERSION
> > >>>
> > >>> Engine: j901/j64avx/windows
> > >>>
> > >>> Beta-i: commercial/2019-08-29T09:48:23
> > >>>
> > >>> Library: 9.01.09
> > >>>
> > >>> Qt IDE: 1.8.3/5.12.3
> > >>>
> > >>> Platform: Win 64
> > >>>
> > >>> Installer: J901 install
> > >>>
> > >>> InstallPath: c:/j64-j901
> > >>>
> > >>> Contact: www.jsoftware.com
> > >>>
> > >>>
> > >>> There is nothing about factorial inverse being dropped in the release
> > >>> notes. I don't know if the inverse of factorial should be dropped or
> > not.
> > >>> But I have found it quite useful.
> > >>>
> ----------------------------------------------------------------------
> > >>> For information about J forums see
> http://www.jsoftware.com/forums.htm
> > >>
> > >> ---
> > >> This email has been checked for viruses by AVG.
> > >> https://www.avg.com
> > >>
> > >> ----------------------------------------------------------------------
> > >> For information about J forums see
> http://www.jsoftware.com/forums.htm
> > >>
> > > ----------------------------------------------------------------------
> > > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> ----------------------------------------------------------------------
> 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