<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Sylvester 0.1.3</title>
	<atom:link href="http://blog.jcoglan.com/2007/07/05/sylvester-013/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jcoglan.com/2007/07/05/sylvester-013/</link>
	<description>This dirt was a building before</description>
	<lastBuildDate>Thu, 29 Jul 2010 06:08:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1-alpha-15443</generator>
	<item>
		<title>By: Jan Theodore Galkowski</title>
		<link>http://blog.jcoglan.com/2007/07/05/sylvester-013/comment-page-1/#comment-3461</link>
		<dc:creator>Jan Theodore Galkowski</dc:creator>
		<pubDate>Thu, 05 Mar 2009 19:06:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jcoglan.com/2007/07/05/sylvester-013/#comment-3461</guid>
		<description>Anyone port Sylvester to Actionscript? Even though they have a Matrix class, there&#039;s little support.  There is a Clevrlib1 which has some more, including SVD and QR decomposition, but it doesn&#039;t support Vector, Plane, Line, except as special cases of Matrix.</description>
		<content:encoded><![CDATA[<p>Anyone port Sylvester to Actionscript? Even though they have a Matrix class, there&#8217;s little support.  There is a Clevrlib1 which has some more, including SVD and QR decomposition, but it doesn&#8217;t support Vector, Plane, Line, except as special cases of Matrix.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Coglan</title>
		<link>http://blog.jcoglan.com/2007/07/05/sylvester-013/comment-page-1/#comment-3362</link>
		<dc:creator>James Coglan</dc:creator>
		<pubDate>Wed, 19 Nov 2008 11:08:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jcoglan.com/2007/07/05/sylvester-013/#comment-3362</guid>
		<description>You&#039;re trying to add two matrices of different sizes, which doesn&#039;t make mathematical sense. The way to model your problem is with vectors: vectors represent single points in space.

&lt;pre&gt;&lt;code&gt;var rect = [$V([2,2]), $V([2,5]),
            $V([7,5]), $V([7,2])];&lt;/code&gt;&lt;/pre&gt;

Then you multiply each point with the rotation matrix to transform them:

&lt;pre&gt;&lt;code&gt;var rot = Matrix.Rotation(Math.PI/2),
    i = rect.length;

while (i--) rect[i] = rot.x(rect[i]);&lt;/code&gt;&lt;/pre&gt;

Or, use the &lt;a href=&quot;http://sylvester.jcoglan.com/api/vector#rotate&quot; rel=&quot;nofollow&quot;&gt;Vector#rotate method&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>You&#8217;re trying to add two matrices of different sizes, which doesn&#8217;t make mathematical sense. The way to model your problem is with vectors: vectors represent single points in space.</p>
<pre><code>var rect = [$V([2,2]), $V([2,5]),
            $V([7,5]), $V([7,2])];</code></pre>
<p>Then you multiply each point with the rotation matrix to transform them:</p>
<pre><code>var rot = Matrix.Rotation(Math.PI/2),
    i = rect.length;

while (i--) rect[i] = rot.x(rect[i]);</code></pre>
<p>Or, use the <a href="http://sylvester.jcoglan.com/api/vector#rotate" rel="nofollow">Vector#rotate method</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MrABC</title>
		<link>http://blog.jcoglan.com/2007/07/05/sylvester-013/comment-page-1/#comment-3360</link>
		<dc:creator>MrABC</dc:creator>
		<pubDate>Mon, 17 Nov 2008 11:13:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jcoglan.com/2007/07/05/sylvester-013/#comment-3360</guid>
		<description>sry i wrote wrong, sory
    ex:
    i have 4 point (a rectangle)
    and i want to rotate them in 90°

    code:
    angle = Math.PI/2;

    var a = $M([
    [2,2,0],
    [2,5,0],
    [7,5,0],
    [7,2,0]
    ]);

    R = Matrix.Rotation(angle);
    result = R.add(a);

Dis i do wrong? i try to read the Tutorial
http://sylvester.jcoglan.com/api/matrix

but i cant get it! sry
can you help me?</description>
		<content:encoded><![CDATA[<p>sry i wrote wrong, sory<br />
    ex:<br />
    i have 4 point (a rectangle)<br />
    and i want to rotate them in 90°</p>
<p>    code:<br />
    angle = Math.PI/2;</p>
<p>    var a = $M([<br />
    [2,2,0],<br />
    [2,5,0],<br />
    [7,5,0],<br />
    [7,2,0]<br />
    ]);</p>
<p>    R = Matrix.Rotation(angle);<br />
    result = R.add(a);</p>
<p>Dis i do wrong? i try to read the Tutorial<br />
<a href="http://sylvester.jcoglan.com/api/matrix" rel="nofollow">http://sylvester.jcoglan.com/api/matrix</a></p>
<p>but i cant get it! sry<br />
can you help me?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MrABC</title>
		<link>http://blog.jcoglan.com/2007/07/05/sylvester-013/comment-page-1/#comment-3359</link>
		<dc:creator>MrABC</dc:creator>
		<pubDate>Mon, 17 Nov 2008 11:10:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jcoglan.com/2007/07/05/sylvester-013/#comment-3359</guid>
		<description>Hello! i have a question.
ex:
i have 4 point (a rectangle)
and i want to rotate them in 90°

code:
angle = Math.PI/2;

var a = $M([
  [2,2,0],
  [2,5,0],
  [7,5,0],
[7,5,0]
]);

var b = $V([7,2,0]);

R = Matrix.Rotation(angle);
test = R.add(a.elements);</description>
		<content:encoded><![CDATA[<p>Hello! i have a question.<br />
ex:<br />
i have 4 point (a rectangle)<br />
and i want to rotate them in 90°</p>
<p>code:<br />
angle = Math.PI/2;</p>
<p>var a = $M([<br />
  [2,2,0],<br />
  [2,5,0],<br />
  [7,5,0],<br />
[7,5,0]<br />
]);</p>
<p>var b = $V([7,2,0]);</p>
<p>R = Matrix.Rotation(angle);<br />
test = R.add(a.elements);</p>
]]></content:encoded>
	</item>
</channel>
</rss>
