>> << Ndx Usr Pri Phr Dic Rel Voc !: wd Help Release

f/\. Improved | initial writing: 2005-02-25 last updated: 2005-02-25

The monad`f/\.x` for “well-behaved”`f` and boolean, integer, floating point, or complex`x` has been made faster and leaner.`f` is well behaved if

       ($x) -: $f x
       (type x) -: type f x

where`type=:3!:0` .`` The following benchmarks illustrate the improvements:

       ts=: 6!:2 , 7!:2@]  NB. time and space
       x=: _5 + 1e6 ?@$ 12

       ts '(0:>.+)/\.x'  NB. J 5.04
    0.463069 4.19635e6
       ts '(0:>.+)/\.x'  NB. J 5.03
    0.912081 1.44582e8

>> << Ndx Usr Pri Phr Dic Rel Voc !: wd Help Release