Mathematica 9 is now available
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

Re: Vectors

  • To: mathgroup at smc.vnet.net
  • Subject: [mg13917] Re: [mg13894] Vectors
  • From: "Jens-Peer Kuska" <kuska at linmpi.mpg.de>
  • Date: Mon, 7 Sep 1998 01:22:42 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

vec={a,b,c}

and

Cross[vec,vec]

works correct, and gives 0! 
Or did You type "(a b c)" ? 
If Your answer is "Yes" You shoud 
take three weeks to read "The Book"
about Mathematica.

Hope that helps
  Jens

-----Original Message-----
From: Olivier Georg <ogeorg at imtsg12.epfl.ch> To: mathgroup at smc.vnet.net
Subject: [mg13917] [mg13894] Vectors


>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: Problem Converting Notebooks to HTML
  • Next by Date: Re: Vectors
  • Previous by thread: Vectors
  • Next by thread: Re: Vectors