diff options
author | Puneeth Chaganti | 2009-10-09 17:14:00 +0530 |
---|---|---|
committer | Puneeth Chaganti | 2009-10-09 17:14:00 +0530 |
commit | 8c85aafdb4f2fa9a78d6de3cd30ada9e669e75a6 (patch) | |
tree | 1b1680049c2a17de1c3a87a88b6f13469cbce4ef /day2/session1.tex | |
parent | 0a9ef884da48dbc63e5100287de2b9bc93bce247 (diff) | |
download | workshops-8c85aafdb4f2fa9a78d6de3cd30ada9e669e75a6.tar.gz workshops-8c85aafdb4f2fa9a78d6de3cd30ada9e669e75a6.tar.bz2 workshops-8c85aafdb4f2fa9a78d6de3cd30ada9e669e75a6.zip |
Minor edits to Session1 Day2.
Diffstat (limited to 'day2/session1.tex')
-rw-r--r-- | day2/session1.tex | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/day2/session1.tex b/day2/session1.tex index 357f18c..a1b05c7 100644 --- a/day2/session1.tex +++ b/day2/session1.tex @@ -102,6 +102,9 @@ \end{frame} } +\newcommand{\num}{\texttt{numpy}} + + % If you wish to uncover everything in a step-wise fashion, uncomment % the following command: %\beamerdefaultoverlayspecification{<+->} @@ -124,12 +127,10 @@ \section{Matrices and Arrays} -\subsection{Basic \typ{numpy} } - -\newcommand{\num}{\texttt{numpy}} +\subsection{Basic \typ{numpy}} \begin{frame} - \frametitle{The \num\ module} + \frametitle{The \num module} \begin{itemize} \item Why? \item What: @@ -250,10 +251,11 @@ array([10,11,12,-1]) \end{frame} \subsection{Array Creation \& Slicing, Striding Arrays} + \begin{frame}[fragile] \frametitle{Array creation functions} \begin{itemize} - \item {\typ{np.array(object,dtype=None,...)} + \item \typ{np.array(object,dtype=None,...)} \begin{lstlisting} >>> np.array([2,3,4]) array([2, 3, 4]) |