On Tue, Aug 12, 2014 at 8:57 AM, Jon Hough <[email protected]> wrote: > I was hoping I could use an alias name for the primitives and get the > derivative of those. > e.g. cos =: 1&o.sin =: 2&o.cos d. 1 > This produces an error, but it would have been nice if I could get it to > return - sin.
cos=: 2&o. sin=: 1&o. cos f. d. 1 -@(1&o.) sin f. d. 1 2&o. Note that it still works without f. but it looks different that way. Thanks, -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
