On Fri, Nov 19, 2010 at 3:53 PM, Alex Gian <[email protected]> wrote:
>   sincos =. (1&o. * 2&o.)
>   sincos d. 1
> sincos d.1              NB.  Hm....
>
> What can I do to the "sincos" verb so that it is presented to the d.
> adverb in terms of its primitives so that the differentiation can take
> place?

   sincos =. 1&o. * 2&o.
   sincos f. d. 1
(2&o. * 2&o.) + 1&o. * -@(1&o.)

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

Reply via email to