{ "metadata": { "name": "", "signature": "sha256:76f550b6b93bf758e0c2f64bc2a024d793987411810ee27d2077dd7bf548516f" }, "nbformat": 3, "nbformat_minor": 0, "worksheets": [ { "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "\n", "
\n", "This notebook doesn't go with any particular section of the notes.\n", "It is intended to generate \"random\" problems of various types." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "This setup cell below must be run first" ] }, { "cell_type": "code", "collapsed": false, "input": [ "%autosave 0\n", "%matplotlib inline\n", "import sglib\n", "reload(sglib)\n", "from sglib import *\n", "# The next import makes expressions like 1/2 work.\n", "# So you no longer have to say frac(1/2)\n", "from __future__ import division" ], "language": "python", "metadata": {}, "outputs": [ { "javascript": [ "IPython.notebook.set_autosave_interval(0)" ], "metadata": {}, "output_type": "display_data" }, { "output_type": "stream", "stream": "stdout", "text": [ "Autosave disabled\n" ] } ], "prompt_number": 27 }, { "cell_type": "markdown", "metadata": {}, "source": [ "
ipython notebook
\n",
" Matrix([ (row2), (row2), ... ])
. \n",
" Matrix([ (1,2,3), (4,5,6), (7,8,9) ])
\n", "You can ignore everything below this point.\n", "
\n", "