On Mon, 4 Dec 2006, Roger Hui wrote:

> Applications of the monad f/ .g are easier to
> envision in an alternative formulation of the
> generalized determinant, namely as f/ over g/
> over diagonals of matrices obtained by all
> possible permutations of the major cells.

Many thanks for the clear explanation.
Another example of monadic  f/ . g  is the odds ratio for 2x2 tables:

   oddrat=: %/ . *   NB. or if you like  -/ . + &.: ^.
   oddrat 0.9 0.1,: 0.2 0.8
36

>...
> Regarding the proposition
>    ((~:/ . *.)  -:  (2 | +/ . *))  A
> in your msg, I think you mean 2|-/ .* instead of
> 2|+/ .* .

Yes.  Memo to self: connect brain before using arms.

J.E.H.Shaw   [Ewart Shaw]      [EMAIL PROTECTED]    TEL: +44 2476 523069
  Department of Statistics,  University of Warwick,  Coventry CV4 7AL,  UK
  http://www.warwick.ac.uk/statsdept            http://www.ewartshaw.co.uk
Will read usenet posts up to the first insult (which may be in the Subject)

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

Reply via email to