<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - binaryadder</title>
<link>http://snipplr.com/users/binaryadder/tags/vectors</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 19 May 2013 12:18:01 GMT</pubDate>
<item>
<title>(C) Vector Operations</title>
<link>http://snipplr.com/view/63017/vector-operations/</link>
<description><![CDATA[ <p>Output:

Vector A:
x: 1.000000
y: 2.000000
z: 3.000000

Vector B:
x: 2.000000
y: 3.000000
z: 4.000000

Adding A and B gives the vector:
x: 3.000000
y: 5.000000
z: 7.000000

Dot product of A and B is 20.000000.

Cross product of A and B gives the vector:
x: -1.000000
y: 2.000000
z: -1.000000

Multiplying A by the scalar quantity 5.0 gives the vector:
x: 5.000000
y: 10.000000
z: 15.000000</p> ]]></description>
<pubDate>Fri, 03 Feb 2012 05:55:42 GMT</pubDate>
<guid>http://snipplr.com/view/63017/vector-operations/</guid>
</item>
</channel>
</rss>