Please see phrases d21 and d22 in
http://www.jsoftware.com/jwiki/JPhrases/ParitySymmetry



----- Original Message -----
From: Tracy Harms <[EMAIL PROTECTED]>
Date: Wednesday, August 15, 2007 15:33
Subject: [Jprogramming] a vector product
To: [email protected]

> In "Elementary Matrix Theory", Howard Eves defines a vector 
> product, for
> three-dimensional (real) Cartesian coordinate use, so: 
>  
> c = (a2b3 - a3b2, a3b1 - a1b3, a1b2 - a2b1)
>  
> (Above, all numerals are subscripts denoting vector elements.)
>  
> I implemented that calculation of c with the following definitions:
>  
>    atomsb =: 1 0 { atomsa =: 3 4 A. i.3
>    vp =: -/@:((atomsa { [) * atomsb { ])
>    
> My question is, does this seem as good a way as any to handle 
> this? In
> particular, is this a case where it is not worth trying to shoe-
> horn the
> functions into a dot phrasing?
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to