view notes @ 5:f6e6f3c8f7eb

Vectors done
author Eris Caffee <discordia@eldalin.com>
date Sun, 04 Sep 2011 12:46:08 -0500
parents f4e384b966b9
children 11e216148d1c
line source
1 --------------------------------------------------------------------------------
2 Vectors
4 Operations to support
6 * vector to string
7 * dot
8 * length (norm)
9 * vector addition
10 * scalar multiplication
11 * normalize
12 * cross
13 * angle between two vectors
14 assignment
15 projection of one vector onto another.
16 triple product i.e. dot(u, cross(v, w)) Is this really that common?
18 Class with operator overloading?
20 --------------------------------------------------------------------------------
21 Matrices
23 det
24 transpose
25 inverse
26 add
27 matrix multiplication
28 vector multiplication
29 scalar multiplication
31 --------------------------------------------------------------------------------
32 Quaternions