view sicm/notes.org @ 2:b4de894a1e2e

initial import
author Robert McIntyre <rlm@mit.edu>
date Fri, 28 Oct 2011 00:03:05 -0700
parents
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.