author | Puneeth Chaganti <punchagan@fossee.in> |
Fri, 09 Oct 2009 11:13:37 +0530 | |
changeset 77 | 3cb7e25f7c0e |
parent 76 | b24c2560f626 |
child 78 | ec1346330649 |
day2/session2.tex | file | annotate | diff | comparison | revisions |
--- 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!