Re: [Jprogramming] Calculus primitives are removed

2019-09-03 Thread Henry Rich
Yes, that's the way to go.  Report your problems to beta, or fix up the addon. D. is temporarily available for comparison purposes but will be removed from the release. !^:_1, which relied on D:, has been removed. Henry Rich On 9/3/2019 4:48 AM, Ben Gorte wrote: Hi, I'm trying to modify m

Re: [Jprogramming] Calculus primitives are removed

2019-09-03 Thread Don Guinn
I had noticed that the inverse of factorial used D. With the latest release: ! inv 3 |domain error | !inv 3 On Tue, Sep 3, 2019 at 2:48 AM Ben Gorte wrote: > Hi, > > I'm trying to modify my code that uses D. 1 by replacing it with Ddot 1, > after: > Ddot =: pderiv_jcalculus_ > > Is that rough

Re: [Jprogramming] Calculus primitives are removed

2019-09-03 Thread Ben Gorte
Hi, I'm trying to modify my code that uses D. 1 by replacing it with Ddot 1, after: Ddot =: pderiv_jcalculus_ Is that roughly the way to go? JVERSION tells me: Engine: j901/j64avx/linux Beta-i: commercial/2019-08-29T09:32:08 Library: 9.01.09 Qt IDE: 1.8.1/5.5.1 Platform: Linux 64 Installer

Re: [Jprogramming] Calculus primitives are removed

2019-08-27 Thread Henry Rich
NuVoc. Henry Rich On 8/27/2019 8:18 PM, 'Jon Hough' via Programming wrote: Thanks for the explanation. I will give it a try. By the way, there is some mention of a new adverb primitive u. Where is this documented? On Tuesday, August 27, 2019, 10:20:22 AM GMT+9, Henry Rich wrote:

Re: [Jprogramming] Calculus primitives are removed

2019-08-27 Thread 'Jon Hough' via Programming
Thanks for the explanation. I will give it a try. By the way, there is some mention of a new adverb primitive u. Where is this documented? On Tuesday, August 27, 2019, 10:20:22 AM GMT+9, Henry Rich wrote: Backwards compatibility is important, but not the only consideration. 1. Calc

Re: [Jprogramming] Calculus primitives are removed

2019-08-27 Thread 'Mike Day' via Programming
For Mike Powell - checking those APL differentials and integrals: I sometimes use pari GP when I can't get extended precision to give the "correct" results, and hardly at all for its very powerful higher mathematical library,  but was able to check just now: it has derivative and integration pr

Re: [Jprogramming] Calculus primitives are removed

2019-08-27 Thread Raul Miller
Ok, I was too hasty looking at the possible repos. Thanks. One more question, though: What's the procedure for suggesting changes to an addon? For example, I just now submitted a pull request against one of the 100+ repositories for jsoftware on github -- https://github.com/jsoftware/general_mis

Re: [Jprogramming] Calculus primitives are removed

2019-08-27 Thread 'robert therriault' via Programming
Hey Raul, Try https://github.com/jsoftware/math_calculus The other version with a - instead of a _ between math and calculus is empty. Cheers, bob > On Aug 27, 2019, at 8:39 AM, Raul Miller wrote: > > Where can I see the addon? > > https://github.com/jsoftware/math-calculus looks empty. >

Re: [Jprogramming] Calculus primitives are removed

2019-08-27 Thread Raul Miller
Where can I see the addon? https://github.com/jsoftware/math-calculus looks empty. Thanks, -- Raul On Mon, Aug 26, 2019 at 7:48 PM Henry Rich wrote: > > Look at the addon. If you want to improve it, ask for permission to > modify it. People have talked about doing this from time to time, an

Re: [Jprogramming] Calculus primitives are removed

2019-08-27 Thread Mike Powell
Thanks Bob & Eric, that worked. > On Aug 27, 2019, at 08:15, 'robert therriault' via Programming > wrote: > > Hi Mike, > > In order to update the J Engine to beta h on a Mac, I needed to run > > load 'pacman' > je_update_jpacman_' ' NB. note the second quote > > That instructed me to close a

Re: [Jprogramming] Calculus primitives are removed

2019-08-27 Thread Eric Iverson
Mike, Looks like you installed the initial 901 beta, but have not done the updates. Please try the following (after making sure the base library is up to date): load'pacman' je_update_jpacman_ '' NB. this will install the latest 901 beta version On Tue, Aug 27, 2019 at 10:29 AM Mike Pow

Re: [Jprogramming] Calculus primitives are removed

2019-08-27 Thread 'robert therriault' via Programming
Hi Mike, In order to update the J Engine to beta h on a Mac, I needed to run load 'pacman' je_update_jpacman_' ' NB. note the second quote That instructed me to close any instances of J that were running, open the Terminal and run (not clear on exact instructions since, now that it is updated,

Re: [Jprogramming] Calculus primitives are removed

2019-08-27 Thread Mike Powell
JVERSION Engine: j901/j64/darwin Beta-g: commercial/2019-05-28T14:58:30 Library: 9.01.08 Qt IDE: 1.8.3/5.12.3 Platform: Darwin 64 Installer: J901 install InstallPath: /applications/j901 Contact: www.jsoftware.com > On Aug 27, 2019, at 07:41, bill lam wrote: > > Can you give its JVERSION ? > >

Re: [Jprogramming] Calculus primitives are removed

2019-08-27 Thread bill lam
Can you give its JVERSION ? It seems ok on jandroid load'math/calculus' +: deriv_jcalculus_ 1 2"0 JVERSION Engine: j901/j64/android Beta-h: commercial/2019-08-27T10:39:14 Library: 9.01.07 J Android: 1.3.02/6.0.1/23 Platform: Android 64 (arm64-v8a) Installer: unknown InstallPath: /storage

Re: [Jprogramming] Calculus primitives are removed

2019-08-27 Thread Mike Powell
I downloaded j901_mac64.zip from the link https://code.jsoftware.com/wiki/System/Installation/Zips . > On Aug 27, 2019, at 07:30, Henry Rich wrote: > > Somehow you have a J Engine from an earlier beta. It doesn't support the u. > prim

Re: [Jprogramming] Calculus primitives are removed

2019-08-27 Thread Henry Rich
Somehow you have a J Engine from an earlier beta.  It doesn't support the u. primitive, which is new. Henry Rich On 8/27/2019 10:29 AM, Mike Powell wrote: Try load'math/calculus' +: deriv_jcalculus_ 1 I have installed J901 beta and start J with jqt.app just fine. I’ve used the Pac

Re: [Jprogramming] Calculus primitives are removed

2019-08-27 Thread Mike Powell
> Try > > load'math/calculus' > +: deriv_jcalculus_ 1 > I have installed J901 beta and start J with jqt.app just fine. I’ve used the Package Manager to install math/calculus (three times): Updating server catalog... Done. Installing 1 package of size 6.4 KB Downloading math/calculus... I

Re: [Jprogramming] Calculus primitives are removed

2019-08-27 Thread Ian Clark
> math/calculus points to math/cal This is clearly wrong, since math/cal has nothing to do with calculus support. I've fixed it – but "math/calculus" now shows up in red because the page [[Addons/math/calculus]] doesn't exist yet. On Tue, 27 Aug 2019 at 12:26, 'Rob B' via Programming < programm.

Re: [Jprogramming] Calculus primitives are removed

2019-08-27 Thread 'Rob B' via Programming
Hi, On this page.. https://code.jsoftware.com/wiki/Vocabulary/Libraries math/calculus points to math/cal Regards, Rob. > On 27 Aug 2019, at 00:04, Henry Rich wrote: > > J has supported symbolic differentiation and integration for some time. > Starting with Release 9.01, primitive support f

Re: [Jprogramming] Calculus primitives are removed

2019-08-26 Thread Don Guinn
D: is used in the inverse of factorial. !^:_1 ]0.001 |NaN error | (-(!-y"_)%0.001&*!"0 D:1])^:_<.&170^:(-:+)^.y On Mon, Aug 26, 2019, 7:46 PM Mike Powell wrote: > Henry, > > I’ve been writing a few documents that will hopefully be useful in the > calculus world. There are currently t

Re: [Jprogramming] Calculus primitives are removed

2019-08-26 Thread Henry Rich
Mike,   Try   load'math/calculus'   +: deriv_jcalculus_ 1 This is the 'comparable replacement' you asked for. Documentation?  No, no more than with d. D. D: - except that now you can look at the source in J.  There are 3 modifiers: deriv_jcalculus_ (replacing d.), pderiv_jcalculus_ (D.), ssl

Re: [Jprogramming] Calculus primitives are removed

2019-08-26 Thread Mike Powell
Henry, I’ve been writing a few documents that will hopefully be useful in the calculus world. There are currently three, all in various stages of completion: “The Derivative Revisited”, “The Derivative Rules” and “The Derivative in Machine Learning”. The idea behind them is to start with Ken Iv

Re: [Jprogramming] Calculus primitives are removed

2019-08-26 Thread Henry Rich
Backwards compatibility is important, but not the only consideration. 1. Calculus had more outstanding crashes and errors on the bug list than any other component. 2. Here the good was the enemy of the best.  We have long wanted to move calculus into an addon, but nobody would ever work on it

Re: [Jprogramming] Calculus primitives are removed

2019-08-26 Thread bill lam
Addons and labs need to change to use cover adverb and I think it will work even better than before because D. can be enhanced much easier if it is implemented in J scripts. On Tue, Aug 27, 2019, 9:08 AM Ben Gorte wrote: > Good morning, > > I was in a Geodesy department for many years and am s

Re: [Jprogramming] Calculus primitives are removed

2019-08-26 Thread Ben Gorte
Good morning, I was in a Geodesy department for many years and am still doing those kind of things. Geodesists are the well-known masters of least-squares adjustment, but not being a geodesist myself, most of my career is based on the Best Fit lab, notably on the (in)famous adverb: Nwtn =: adverb

Re: [Jprogramming] Calculus primitives are removed

2019-08-26 Thread 'Jon Hough' via Programming
I have mixed feelings about this. I know d. and D. are not used very often, but this is going to break some code, i.e. break backwards compatibility. I have some code that uses d./D. Is backwards compatibility not considered an important point? On Tuesday, August 27, 2019, 8:48:04 AM GMT+

Re: [Jprogramming] Calculus primitives are removed

2019-08-26 Thread Henry Rich
Look at the addon.  If you want to improve it, ask for permission to modify it.  People have talked about doing this from time to time, and now it's possible.  Calculus is looking for a champion. Henry Rich On 8/26/2019 7:15 PM, Raul Miller wrote: On Mon, Aug 26, 2019 at 7:05 PM Henry Rich w

Re: [Jprogramming] Calculus primitives are removed

2019-08-26 Thread Raul Miller
On Mon, Aug 26, 2019 at 7:05 PM Henry Rich wrote: > The primitives for differentiation and integration - d. D. D: - are also > removed, but they are going to a Better Place. A new addon, > math/calculus, is now available. It provides most of the features of > the calculus primitives. Interested

[Jprogramming] Calculus primitives are removed

2019-08-26 Thread Henry Rich
J has supported symbolic differentiation and integration for some time.  Starting with Release 9.01, primitive support for calculus is withdrawn. The calculus primitives were a proof-of-concept that was an incomplete success.  They worked, but they were not complete, and the nature of mathemat