MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Cross product with Mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg15548] Re: Cross product with Mathematica
  • From: "Allan Hayes" <hay at haystack.demon.co.uk>
  • Date: Tue, 26 Jan 1999 13:44:33 -0500 (EST)
  • References: <7813q6$p0m@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Sylvain,

Just use the definition that you know

cross[{a_,b_,c_},{A_,B_,C_}] :=  {-B c+b C, A c-a C, -A b+a B}

This is quicker than the built in function, which deals with all
dimensions.

Allan

---------------------
Allan Hayes
Mathematica Training and Consulting
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565

smoisan at total.net wrote in message <7813q6$p0m at smc.vnet.net>...
>Hi,
>
>I wanted to do some calculations involving cross product over the
>weekend using Mathematica.  That's when I discovered there's no way of
>doing any cross product using this software, at least, not in the
>version we have at the univerity which is 2.2 for Solaris.  Is this
>possible in another version?
> Is there an add-on available somewhere so I can do cross product?  Any
>help would be appreciated.
>
>Thanks in advance.
>
>Sylvain Moisan
>mailto:smoisan at total.net
>The Metal Files <http://tropin.phy.ulaval.ca/smoisan/muzac.html>
>
>-----------== Posted via Deja News, The Discussion Network ==----------
>http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own
>
>



  • Prev by Date: Re: Outline font? HelveticaO?
  • Next by Date: Re: Save print in textfile
  • Previous by thread: Re: Cross product with Mathematica
  • Next by thread: Re: Cross product with Mathematica