diff options
author | Puneeth Chaganti | 2009-10-09 17:14:00 +0530 |
---|---|---|
committer | Puneeth Chaganti | 2009-10-09 17:14:00 +0530 |
commit | 0ec47360f7bcfaf087afe0b5d4698698c47b82ba (patch) | |
tree | 1b1680049c2a17de1c3a87a88b6f13469cbce4ef /day2/session1.tex | |
parent | d1b8de4233ff02f004f355a50802943b90566677 (diff) | |
download | workshops-more-scipy-0ec47360f7bcfaf087afe0b5d4698698c47b82ba.tar.gz workshops-more-scipy-0ec47360f7bcfaf087afe0b5d4698698c47b82ba.tar.bz2 workshops-more-scipy-0ec47360f7bcfaf087afe0b5d4698698c47b82ba.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]) |