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

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

Search the Archive

Re: Vector operations,

  • To: mathgroup at smc.vnet.net
  • Subject: [mg70012] Re: Vector operations,
  • From: "ben" <benjamin.friedrich at gmail.com>
  • Date: Sat, 30 Sep 2006 05:12:42 -0400 (EDT)
  • References: <efitqn$lu4$1@smc.vnet.net>

What about

{{1/2, 1/2}, {1, 0}, {0, 1}, {0, 0}} . {{Cos[\[Alpha]], Sin[\[Alpha]]},
{-Sin[\[Alpha]], Cos[\[Alpha]]}}

?

Ben

mickey schrieb:

> Hi,
>
> I have a list of vectors such as
>
> {{1/2, 1/2}, {1, 0}, {0, 1}, {0, 0}}
>
> I want to rotate them all by the same angle. Right now, what I do is
> multiply each by RotationMatrix2D[t] and iterate over the list. Is there
> a more efficient way to do this?
> 
> Thanks,
> -M


  • Prev by Date: showing variables in plots?
  • Next by Date: convergence checking
  • Previous by thread: Re: Vector operations,
  • Next by thread: Re: Vector operations,