day2/session2.tex
changeset 77 3cb7e25f7c0e
parent 76 b24c2560f626
child 82 e352b67ab357
--- a/day2/session2.tex	Thu Oct 08 23:16:13 2009 +0530
+++ b/day2/session2.tex	Fri Oct 09 11:13:37 2009 +0530
@@ -124,11 +124,12 @@
   \begin{lstlisting}
     >>> a = np.arange(4)
     >>> b = np.arange(5)
-    >>> a+b
+    >>> a+b #Does this work?
     >>> a+3
     >>> c=np.array([3])
-    >>> a+c
-    >>> b+c
+    >>> a+c #Works!
+    >>> b+c #But how?
+    >>> a.shape, b.shape, c.shape
   \end{lstlisting}
   \begin{itemize}
     \item Enter Broadcasting!