Layout changes to make PDF read better.

Mostly just shortening lines of code. There was a SymPy font render issue as well.
This commit is contained in:
Roger Labbe
2014-11-16 11:24:59 -08:00
parent c1281bc47c
commit 3367806b07
11 changed files with 414 additions and 648 deletions

View File

@@ -602,8 +602,8 @@
"input": [
"import numpy\n",
"def perfect_predict(pos, move):\n",
" \"\"\" move the position by 'move' spaces, where positive is to the right, and negative\n",
" is to the left\n",
" \"\"\" move the position by 'move' spaces, where positive is to the right, \n",
" and negative is to the left\n",
" \"\"\"\n",
" n = len(pos)\n",
" result = np.array(pos, dtype=float)\n",