MathGroup Archive 2005

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

Search the Archive

Re: cubic quaternion based surface

  • To: mathgroup at
  • Subject: [mg53557] Re: cubic quaternion based surface
  • From: "Jens-Peer Kuska" <kuska at>
  • Date: Tue, 18 Jan 2005 05:07:57 -0500 (EST)
  • Organization: Uni Leipzig
  • References: <cs5ap3$3qj$> <cs9c22$jkk$> <cscpfe$du4$>
  • Sender: owner-wri-mathgroup at


do you mean that Mathematica should see that
aMatrix^n_Integer is aMatrix.aMatrix. .. ?

You can try to remove the Listable attribute from Power[]
and set up a rule, try

In[]:=m = {{a, b}, {c, d}};



Out[]={{a^2, b^2}, {c^2, d^2}}


ClearAttributes[Power, Listable]
Power[m_?MatrixQ, n_Integer] := MatrixPower[m, n]

the Power[] function will work for a matrix. But be carefull
because some other functions will use the Listable attribute of Power[]


"Roger Bagula" <tftn at> schrieb im Newsbeitrag 
news:cscpfe$du4$1 at
> Jens-Peer Kuska wrote:
>> Hi,
>> you mean
>>  x[t_]=x0/(Sqrt[2]-t0)
>>  y[t_]=y0/(Sqrt[2]-t0)
>>  z[t_]=z0/(Sqrt[2]-t0)
>> without the SetDelayed[] because otherwise the t_ pattern
>> is not replaced by p in your second call of ParametricPlot3D[]
>> Regards
>>   Jens
>> "Roger L. Bagula" <rlbtftn at> schrieb im Newsbeitrag
>> news:cs5ap3$3qj$1 at
>>>(* four space coordinates*)
>>>(*Clifford torus projection*)
>>>(* this resulting surface is a projective plane of a quaternionic type*)
>>>    Boxed->False,Axes->False,PlotPoints->60,PlotRange->All]
>>>Show[g2,ViewPoint->{0.001, -0.045, 3.383}]
>>>Show[g2,ViewPoint->{-3.360, -0.024, 0.397}]
> You're probably right.
> I just put in the ":=" so I could get
> the whole thing in a screen capture.
> My big problem is I'd like to get Mathematica to consider i,j,k as
> matrices instead of numbers.
> These groups can be generalized to i^n, j^n,k^n,
> but they make more sense as SU(2) type matrices.
> Roger

  • Prev by Date: Re: Mathematica, LabView and I/O devices
  • Next by Date: Re: about PATTERNS
  • Previous by thread: Re: cubic quaternion based surface
  • Next by thread: PlotLabel in two lines