view sicm/notes.org @ 11:1f112b4f9e8f tip

Fixed what was baroque.
author Dylan Holmes <ocsenave@gmail.com>
date Tue, 01 Nov 2011 02:30:49 -0500
parents b4de894a1e2e
children
line wrap: on
line source
1 #+TITLE: Notes for SICM
3 * Complex numbers
6 * Multidimensional Structures
7 ** Tuples
8 - Tuples are a new data type: sequences with /spin/. A tuple can be either spin-up or spin-down.
9 - A pair of compatible tuples can be *contracted* into a single number.
10 - Tuples are compatible if they have the same length and opposite
11 spin, and if their corresponding pairs of items are either both
12 numbers or both compatible tuples.
13 - To contract tuples, take the sum of the products of corresponding
14 pairs of items. (To take the product of compatible tuples,
15 contract them.)
17 *Generic Arithmetic:* To multiply two tuples, check to see if they are
18 compatible. If they are, contract them. If they aren't, multiply each
19 item of the second tuple by the first tuple.
21 To multiply a tuple by a number, multiply each element of the tuple by
22 the number.
24 ** Matrices
25 Uses incanter matrices.