Am having a mental block about this problem so will appreciate any help.   The 
following is a simplified version of the problem.   Apologies if this is a 
stupid question.

Take the verb ^. which has both a monad and dyad definition: log_e(y) for monad 
and log_x(y) for dyad

Now suppose I want the verb u which  computes log_e (2y) if monad and log_x 
(2y)  for dyad.

This can be achieved with the monad/dyad “:” construction as in 

u=: (^.@+:) : (^. +:)     NB. seems relatively complicated!!

Is there a simpler way?   What am I missing??
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to