Have you tried 10&^.  ?  See
http://www.jsoftware.com/docs/help801/dictionary/d201.htm

On Tuesday, June 10, 2014, Alex Giannakopoulos <[email protected]>
wrote:

> Which of these two is the more efficient (if there's any difference) and is
> there any way way mere mortals can tell?
>
> log10 =: 10 %&^.~ ]
>
> logb10 =: 10&^inv
>
> Further, if I only wanted to find the order of a given +ve integer
>
> would it be better to do <. @ log10  (or <. @ logb10)
> or something like:
>
> <:@#@(10&#. inv)
>
>
> Thanks
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>


-- 
Sent from Gmail Mobile
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to