day2/session1.tex
changeset 95 691608044ae7
parent 78 ec1346330649
child 96 a749db24e73b
--- a/day2/session1.tex	Fri Oct 09 12:55:34 2009 +0530
+++ b/day2/session1.tex	Fri Oct 09 17:14:00 2009 +0530
@@ -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 @@
 \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])