
diff -r be96dc6c9743 -r 68813d8d80fb getting-started-with-arrays/slides.tex
--- a/getting-started-with-arrays/slides.tex	Mon Nov 08 02:12:28 2010 +0530
+++ b/getting-started-with-arrays/slides.tex	Thu Nov 11 02:28:55 2010 +0530
@@ -1,4 +1,4 @@
-% Created 2010-10-12 Tue 00:20
+% Created 2010-11-07 Sun 15:18
 \documentclass[presentation]{beamer}
 \usepackage[latin1]{inputenc}
 \usepackage[T1]{fontenc}
@@ -87,6 +87,12 @@
    In []: a1 = array([1, 2, 3, 4])
 \end{verbatim}
 
+  \texttt{[1, 2, 3, 4]} is a list.
+\end{frame}
+\begin{frame}[fragile]
+\frametitle{Creating two-dimensional array}
+\label{sec-4}
+
 \begin{itemize}
 \item Creating a 2-dimensional array
 \end{itemize}
@@ -95,6 +101,7 @@
    In []: a2 = array([[1,2,3,4],[5,6,7,8]])
 \end{verbatim}
 
+  here we convert a list of lists to an array making a 2-d array.
 \begin{itemize}
 \item Easier method of creating array with consecutive elements.
 \end{itemize}
@@ -105,7 +112,7 @@
 \end{frame}
 \begin{frame}[fragile]
 \frametitle{\texttt{reshape()} method}
-\label{sec-4}
+\label{sec-5}
 
 \begin{itemize}
 \item To reshape an array
@@ -119,7 +126,7 @@
 \end{frame}
 \begin{frame}[fragile]
 \frametitle{Creating \texttt{array} from \texttt{list}.}
-\label{sec-5}
+\label{sec-6}
 
 \begin{itemize}
 \item \texttt{array()} method accepts list as argument
@@ -137,13 +144,13 @@
 \end{frame}
 \begin{frame}
 \frametitle{Exercise 1}
-\label{sec-6}
+\label{sec-7}
 
   Create a 3-dimensional array of the order (2, 2, 4).
 \end{frame}
 \begin{frame}[fragile]
 \frametitle{\texttt{.shape} of array}
-\label{sec-7}
+\label{sec-8}
 
 \begin{itemize}
 \item \texttt{.shape}
@@ -158,13 +165,13 @@
 \end{frame}
 \begin{frame}
 \frametitle{Exercise 2}
-\label{sec-8}
+\label{sec-9}
 
   Find out the shape of the other arrays(a2, a3, ar) that we have created.
 \end{frame}
 \begin{frame}[fragile]
 \frametitle{Homogeneous data}
-\label{sec-9}
+\label{sec-10}
 
 \begin{itemize}
 \item All elements in array should be of same type
@@ -176,7 +183,7 @@
 \end{frame}
 \begin{frame}[fragile]
 \frametitle{Implicit type casting}
-\label{sec-10}
+\label{sec-11}
 
 \begin{verbatim}
     In []: a4
@@ -186,7 +193,7 @@
 \end{frame}
 \begin{frame}
 \frametitle{\texttt{identity()}, \texttt{zeros()} methods}
-\label{sec-11}
+\label{sec-12}
 
 \begin{itemize}
 \item \texttt{identity(n)}
@@ -197,7 +204,7 @@
 \end{frame}
 \begin{frame}
 \frametitle{Learning exercise}
-\label{sec-12}
+\label{sec-13}
 
 \begin{itemize}
 \item Find out about
@@ -212,7 +219,7 @@
 \end{frame}
 \begin{frame}
 \frametitle{Array operations}
-\label{sec-13}
+\label{sec-14}
 
 \begin{itemize}
 \item \texttt{a1 * 2}
@@ -247,7 +254,7 @@
 \end{frame}
 \begin{frame}
 \frametitle{Summary}
-\label{sec-14}
+\label{sec-15}
 
   In this tutorial we covered,
 \begin{itemize}
@@ -259,7 +266,7 @@
 \end{frame}
 \begin{frame}
 \frametitle{Thank you!}
-\label{sec-15}
+\label{sec-16}
 
   \begin{block}{}
   \begin{center}




