Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

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

Search the Archive

Vectors

  • To: mathgroup at smc.vnet.net
  • Subject: [mg13894] Vectors
  • From: Olivier Georg <ogeorg at imtsg12.epfl.ch>
  • Date: Sun, 6 Sep 1998 02:55:31 -0400
  • Organization: EPFL
  • Sender: owner-wri-mathgroup at wolfram.com

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    \                     |
---------------------------------------------------------------------


  • Prev by Date: Re: Summing over like elements
  • Next by Date: Re: Structure modification and related questions
  • Previous by thread: Re: how can I save only the text of a notebook?
  • Next by thread: Re: Vectors