Oops, you are right. Also, it seems that these work properly:
(^&_2.000000000001) d. _1 (^&_1)d._1 So it seems like a bug. Does anyone feel like diagnosing why this happens? Or should I do that? Thanks, -- Raul On Sat, Apr 25, 2015 at 8:20 PM, Jon Hough <[email protected]> wrote: > I think you mistyped & as %. > > --- Original Message --- > > From: "Raul Miller" <[email protected]> > Sent: April 26, 2015 2:45 AM > To: "Programming forum" <[email protected]> > Subject: Re: [Jprogramming] Antiderivative fails > > I cannot reproduce your result. I get: > > (^%_2) d. _1 > |nonce error > > (nonce error means it's not implemented but an implementation should be > doable.) > > -- > Raul > > On Sat, Apr 25, 2015 at 12:25 PM, Jon Hough <[email protected]> wrote: >> Doing : >> (^&_2) d. _1 fails, in the sence that the result is >> [ >> which seems odd. (_2 can be replaced with any neg integer with the same >> result). I do not know how I should interpret this.Clearly the result is not >> correct. But I would have thought J's d. conjunction could have figured out >> the correct answer >> _1&*@:(^&_1) >> since it can figure out the correct antiderivative of more >> difficultfunctions, like ^. .Anyway, I would like ot know if this is a bug >> with J or I am doing something wrong. Both the dictionary adn NUVOC don't >> seem to shed light on this. >> Regards,Jon >> ---------------------------------------------------------------------- >> 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
