Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Re: Quaternions

  • To: mathgroup at
  • Subject: [mg78200] Re: [mg78186] Quaternions
  • From: Carl Woll <carlw at>
  • Date: Mon, 25 Jun 2007 07:09:19 -0400 (EDT)
  • References: <>

Bruce Colletti wrote:

>Re Mathematica 6.0 under WinXP.
>The code below works as planned, except that a red marker appears between the final ) and ], announcing that more input is expected.  I'm presuming that in this case, the marker can be ignored, but want to doublecheck with others.
>Quaternion[Cos[Pi/4],Sequence@@(u Sin[Pi/4])]
The syntax checking code can only do syntax checking without evaluation. 
In this case, before evaluating the arguments, it appears that 
Quaternion only has 2 arguments, so that syntax checker complains. 
Another similar example is

Binomial[Sequence @@ {4,2}]

Carl Woll
Wolfram Research

  • References:
    • Quaternions
      • From: Bruce Colletti <>
  • Prev by Date: Re: v6 GraphicsGrid with PlotLabel
  • Next by Date: Re: Quaternions
  • Previous by thread: Quaternions
  • Next by thread: Re: Quaternions