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