Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1992
*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 1992

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

Search the Archive

quaternions

  • To: mathgroup at yoda.physics.unc.edu
  • Subject: quaternions
  • From: Jack K. Cohen <jkc at dix.mines.colorado.edu>
  • Date: Thu, 8 Oct 92 14:02:30 -0600

Has anyone implemented quaternions?  I have an ugly
implementation using lists: p = {p0,p1,p2,p3}, but would
like something better than:
p = {p0,p1,p2,p3};
q = {q0,q1,q2,q3};

p ~qTimes~ q - q ~qTimes~ p //Simplify

   {0, 2 (-(p3 q2) + p2 q3), 2 (p3 q1 - p1 q3),
   	2 (-(p2 q1) + p1 q2)}






  • Prev by Date: Re: A Simplify that really simplifies? Summary
  • Next by Date: Re: Loop problem
  • Previous by thread: AllRoots
  • Next by thread: Plotting interpolating functions