You are right, I should have altered the subject since I was mainly struck
by the resemblance between mean1 and wmean1.


R.E. Boss


-----Oorspronkelijk bericht-----
Van: [email protected]
[mailto:[email protected]] Namens Dan Bron
Verzonden: vrijdag 6 februari 2009 17:07
Aan: Programming forum
Onderwerp: Re: [Jprogramming] Examples of dyadic forks

RE Boss wrote:
>  mean1=:  # %&(+/)~ [
>  1 1 1 (me...@],wmean1) 3 5 8

The issue with this example is the use of  [  and  @]  .  

John's looking for a natural, non-trivial example of a dyadic fork in its
full generality.  That is, he wants every tine of the fork to make use of
all the available data (i.e. both arguments).  

The identity verbs effectively ignore an argument, so their use is
discouraged. 

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

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

Reply via email to