# HG changeset patch # User Puneeth Chaganti # Date 1255067017 -19800 # Node ID 3cb7e25f7c0ec7f8baea182b19562356b327efaf # Parent b24c2560f62656c86819a61a1803c04fbd8fb70e Edited Broadcasting slides. diff -r b24c2560f626 -r 3cb7e25f7c0e day2/session2.tex --- 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!