[Previous] [Next]

Using Vectors to Store Items


If items are represented by orthogonal vectors we can create a form of memory by adding these vectors together.

To determine if a given item has been stored we calculate the dot product the item with the memory vector.

This is the task in the first set of exercises