Re: Vectors
- To: mathgroup at smc.vnet.net
- Subject: [mg13914] Re: Vectors
- From: "Allan Hayes" <hay at haystack.demon.cc.uk>
- Date: Mon, 7 Sep 1998 01:22:40 -0400
- References: <6ssuku$m7j@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Olivier: Do you mean A = {a,b,c}; ? This gives Cross [A,A] {0,0,0} Allan ------------------------------------------------------------- Allan Hayes Training and Consulting Leicester UK http://www.haystack.demon.co.uk hay at haystack.demon.co.uk voice: +44 (0)116 271 4198 fax: +44(0)116 271 8642 ------------------------------------------------------------------------- Olivier Georg wrote in message <6ssuku$m7j at smc.vnet.net>... >Hi, > >I want to do symbolic calculation with vectors, in particular, I want to >do a vector product. But if I declare: > > A = (a b c) > >and do > > A x A > >(which should give zero), but instead I get: > > Cross::"nonn1": "Not all of the arguments are vectors > of required length > >since there's no way for mathematica to know that a, b and c represent >numerical value and not functions or lists. Is there a way around to >perform this kind of calculation ? > >Please e-mail also, thanks, > >Olivier >-- >--------------------------------------------------------------------- | >Olivier Georg \__ e-mail: olivier.georg at epfl.ch | | >Ch. de Montelly 43c \__ home: http://imtsg7.epfl.ch/~ogeorg | | >1007 Lausanne/Switzerland \__ tel: +41 21 693 58 50 (work) | >-------------------------------\__ +41 21 626 51 79 (private) | | >Heb Deh Hag Heb Warhoaz \__-------------------------------- | >Hirio Ne Dalv Ket C'Hoaz \__ ________ __o | | >( Sans hier et sans demain ) \__ _____ _`\<,_ | | ( >Aujourd'hui ne vaut rien ) \__ ___ (_)/ (_) | | >"Kinnig", Per Jakez Helias \ | >--------------------------------------------------------------------- >