author | anand |
Thu, 11 Nov 2010 00:03:57 +0530 | |
changeset 472 | fcdec2d28c9a |
parent 393 | f99254fc7d70 |
permissions | -rw-r--r-- |
393
f99254fc7d70
Made changes to script, getting started with arrays, as suggested in internal review.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
304
diff
changeset
|
1 |
% Created 2010-11-07 Sun 15:18 |
304
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
2 |
\documentclass[presentation]{beamer} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
3 |
\usepackage[latin1]{inputenc} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
4 |
\usepackage[T1]{fontenc} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
5 |
\usepackage{fixltx2e} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
6 |
\usepackage{graphicx} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
7 |
\usepackage{longtable} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
8 |
\usepackage{float} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
9 |
\usepackage{wrapfig} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
10 |
\usepackage{soul} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
11 |
\usepackage{t1enc} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
12 |
\usepackage{textcomp} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
13 |
\usepackage{marvosym} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
14 |
\usepackage{wasysym} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
15 |
\usepackage{latexsym} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
16 |
\usepackage{amssymb} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
17 |
\usepackage{hyperref} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
18 |
\tolerance=1000 |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
19 |
\usepackage[english]{babel} \usepackage{ae,aecompl} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
20 |
\usepackage{mathpazo,courier,euler} \usepackage[scaled=.95]{helvet} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
21 |
\usepackage{listings} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
22 |
\lstset{language=Python, basicstyle=\ttfamily\bfseries, |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
23 |
commentstyle=\color{red}\itshape, stringstyle=\color{darkgreen}, |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
24 |
showstringspaces=false, keywordstyle=\color{blue}\bfseries} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
25 |
\providecommand{\alert}[1]{\textbf{#1}} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
26 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
27 |
\title{Getting started with arrays} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
28 |
\author{FOSSEE} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
29 |
\date{} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
30 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
31 |
\usetheme{Warsaw}\usecolortheme{default}\useoutertheme{infolines}\setbeamercovered{transparent} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
32 |
\begin{document} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
33 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
34 |
\maketitle |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
35 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
36 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
37 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
38 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
39 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
40 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
41 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
42 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
43 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
44 |
\begin{frame} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
45 |
\frametitle{Outline} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
46 |
\label{sec-1} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
47 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
48 |
\begin{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
49 |
\item Arrays |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
50 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
51 |
\begin{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
52 |
\item why arrays over lists |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
53 |
\end{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
54 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
55 |
\item Creating arrays |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
56 |
\item Array operations |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
57 |
\end{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
58 |
\end{frame} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
59 |
\begin{frame} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
60 |
\frametitle{Overview of Arrays} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
61 |
\label{sec-2} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
62 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
63 |
\begin{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
64 |
\item Arrays are homogeneous data structures. |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
65 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
66 |
\begin{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
67 |
\item elements have to the same data type |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
68 |
\end{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
69 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
70 |
\item Arrays are faster compared to lists |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
71 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
72 |
\begin{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
73 |
\item at least \emph{80-100 times} faster than lists |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
74 |
\end{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
75 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
76 |
\end{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
77 |
\end{frame} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
78 |
\begin{frame}[fragile] |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
79 |
\frametitle{Creating Arrays} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
80 |
\label{sec-3} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
81 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
82 |
\begin{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
83 |
\item Creating a 1-dimensional array |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
84 |
\end{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
85 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
86 |
\begin{verbatim} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
87 |
In []: a1 = array([1, 2, 3, 4]) |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
88 |
\end{verbatim} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
89 |
|
393
f99254fc7d70
Made changes to script, getting started with arrays, as suggested in internal review.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
304
diff
changeset
|
90 |
\texttt{[1, 2, 3, 4]} is a list. |
f99254fc7d70
Made changes to script, getting started with arrays, as suggested in internal review.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
304
diff
changeset
|
91 |
\end{frame} |
f99254fc7d70
Made changes to script, getting started with arrays, as suggested in internal review.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
304
diff
changeset
|
92 |
\begin{frame}[fragile] |
f99254fc7d70
Made changes to script, getting started with arrays, as suggested in internal review.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
304
diff
changeset
|
93 |
\frametitle{Creating two-dimensional array} |
f99254fc7d70
Made changes to script, getting started with arrays, as suggested in internal review.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
304
diff
changeset
|
94 |
\label{sec-4} |
f99254fc7d70
Made changes to script, getting started with arrays, as suggested in internal review.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
304
diff
changeset
|
95 |
|
304
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
96 |
\begin{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
97 |
\item Creating a 2-dimensional array |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
98 |
\end{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
99 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
100 |
\begin{verbatim} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
101 |
In []: a2 = array([[1,2,3,4],[5,6,7,8]]) |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
102 |
\end{verbatim} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
103 |
|
393
f99254fc7d70
Made changes to script, getting started with arrays, as suggested in internal review.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
304
diff
changeset
|
104 |
here we convert a list of lists to an array making a 2-d array. |
304
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
105 |
\begin{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
106 |
\item Easier method of creating array with consecutive elements. |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
107 |
\end{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
108 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
109 |
\begin{verbatim} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
110 |
In []: ar = arange(1,9) |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
111 |
\end{verbatim} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
112 |
\end{frame} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
113 |
\begin{frame}[fragile] |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
114 |
\frametitle{\texttt{reshape()} method} |
393
f99254fc7d70
Made changes to script, getting started with arrays, as suggested in internal review.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
304
diff
changeset
|
115 |
\label{sec-5} |
304
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
116 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
117 |
\begin{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
118 |
\item To reshape an array |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
119 |
\end{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
120 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
121 |
\begin{verbatim} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
122 |
In []: ar.reshape(2, 4) |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
123 |
In []: ar.reshape(4, 2) |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
124 |
In []: ar = ar.reshape(2, 4) |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
125 |
\end{verbatim} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
126 |
\end{frame} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
127 |
\begin{frame}[fragile] |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
128 |
\frametitle{Creating \texttt{array} from \texttt{list}.} |
393
f99254fc7d70
Made changes to script, getting started with arrays, as suggested in internal review.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
304
diff
changeset
|
129 |
\label{sec-6} |
304
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
130 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
131 |
\begin{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
132 |
\item \texttt{array()} method accepts list as argument |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
133 |
\item Creating a list |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
134 |
\begin{verbatim} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
135 |
In []: l1 = [1, 2, 3, 4] |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
136 |
\end{verbatim} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
137 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
138 |
\item Creating an array |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
139 |
\begin{verbatim} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
140 |
In []: a3 = array(l1) |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
141 |
\end{verbatim} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
142 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
143 |
\end{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
144 |
\end{frame} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
145 |
\begin{frame} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
146 |
\frametitle{Exercise 1} |
393
f99254fc7d70
Made changes to script, getting started with arrays, as suggested in internal review.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
304
diff
changeset
|
147 |
\label{sec-7} |
304
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
148 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
149 |
Create a 3-dimensional array of the order (2, 2, 4). |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
150 |
\end{frame} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
151 |
\begin{frame}[fragile] |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
152 |
\frametitle{\texttt{.shape} of array} |
393
f99254fc7d70
Made changes to script, getting started with arrays, as suggested in internal review.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
304
diff
changeset
|
153 |
\label{sec-8} |
304
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
154 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
155 |
\begin{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
156 |
\item \texttt{.shape} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
157 |
To find the shape of the array |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
158 |
\begin{verbatim} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
159 |
In []: a1.shape |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
160 |
\end{verbatim} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
161 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
162 |
\item \texttt{.shape} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
163 |
returns a tuple of shape |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
164 |
\end{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
165 |
\end{frame} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
166 |
\begin{frame} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
167 |
\frametitle{Exercise 2} |
393
f99254fc7d70
Made changes to script, getting started with arrays, as suggested in internal review.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
304
diff
changeset
|
168 |
\label{sec-9} |
304
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
169 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
170 |
Find out the shape of the other arrays(a2, a3, ar) that we have created. |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
171 |
\end{frame} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
172 |
\begin{frame}[fragile] |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
173 |
\frametitle{Homogeneous data} |
393
f99254fc7d70
Made changes to script, getting started with arrays, as suggested in internal review.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
304
diff
changeset
|
174 |
\label{sec-10} |
304
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
175 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
176 |
\begin{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
177 |
\item All elements in array should be of same type |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
178 |
\begin{verbatim} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
179 |
In []: a4 = array([1,2,3,'a string']) |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
180 |
\end{verbatim} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
181 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
182 |
\end{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
183 |
\end{frame} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
184 |
\begin{frame}[fragile] |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
185 |
\frametitle{Implicit type casting} |
393
f99254fc7d70
Made changes to script, getting started with arrays, as suggested in internal review.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
304
diff
changeset
|
186 |
\label{sec-11} |
304
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
187 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
188 |
\begin{verbatim} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
189 |
In []: a4 |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
190 |
\end{verbatim} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
191 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
192 |
All elements are type casted to string type |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
193 |
\end{frame} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
194 |
\begin{frame} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
195 |
\frametitle{\texttt{identity()}, \texttt{zeros()} methods} |
393
f99254fc7d70
Made changes to script, getting started with arrays, as suggested in internal review.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
304
diff
changeset
|
196 |
\label{sec-12} |
304
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
197 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
198 |
\begin{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
199 |
\item \texttt{identity(n)} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
200 |
Creates an identity matrix, a square matrix of order (n, n) with diagonal elements 1 and others 0. |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
201 |
\item \texttt{zeros((m, n))} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
202 |
Creates an \texttt{m X n} matrix with all elements 0. |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
203 |
\end{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
204 |
\end{frame} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
205 |
\begin{frame} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
206 |
\frametitle{Learning exercise} |
393
f99254fc7d70
Made changes to script, getting started with arrays, as suggested in internal review.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
304
diff
changeset
|
207 |
\label{sec-13} |
304
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
208 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
209 |
\begin{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
210 |
\item Find out about |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
211 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
212 |
\begin{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
213 |
\item \texttt{zeros\_like()} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
214 |
\item \texttt{ones()} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
215 |
\item \texttt{ones\_like()} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
216 |
\end{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
217 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
218 |
\end{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
219 |
\end{frame} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
220 |
\begin{frame} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
221 |
\frametitle{Array operations} |
393
f99254fc7d70
Made changes to script, getting started with arrays, as suggested in internal review.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
304
diff
changeset
|
222 |
\label{sec-14} |
304
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
223 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
224 |
\begin{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
225 |
\item \texttt{a1 * 2} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
226 |
returns a new array with all elements of \texttt{a1} multiplied by \texttt{2}. |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
227 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
228 |
\begin{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
229 |
\item Similarly \texttt{+}, \texttt{-} \& \texttt{/}. |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
230 |
\end{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
231 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
232 |
\item \texttt{a1 + 2} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
233 |
returns a new array with all elements of \texttt{a1} summed with \texttt{2}. |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
234 |
\item \texttt{a1 += 2} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
235 |
adds \texttt{2} to all elements of array \texttt{a1}. |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
236 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
237 |
\begin{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
238 |
\item Similarly \texttt{-=}, \texttt{*=} \& \texttt{/=}. |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
239 |
\end{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
240 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
241 |
\item \texttt{a1 + a2} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
242 |
does elements-wise addition. |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
243 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
244 |
\begin{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
245 |
\item Similarly \texttt{-}, \texttt{*} \& \texttt{/}. |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
246 |
\end{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
247 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
248 |
\item \texttt{a1 * a2} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
249 |
does element-wise multiplication |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
250 |
\end{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
251 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
252 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
253 |
\textbf{Note} - array(A) * array(B) does element wise multiplication and not matrix multiplication |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
254 |
\end{frame} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
255 |
\begin{frame} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
256 |
\frametitle{Summary} |
393
f99254fc7d70
Made changes to script, getting started with arrays, as suggested in internal review.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
304
diff
changeset
|
257 |
\label{sec-15} |
304
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
258 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
259 |
In this tutorial we covered, |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
260 |
\begin{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
261 |
\item Basics of arrays |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
262 |
\item Creating arrays |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
263 |
\item Arrays from lists |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
264 |
\item Basic array operations |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
265 |
\end{itemize} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
266 |
\end{frame} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
267 |
\begin{frame} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
268 |
\frametitle{Thank you!} |
393
f99254fc7d70
Made changes to script, getting started with arrays, as suggested in internal review.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
304
diff
changeset
|
269 |
\label{sec-16} |
304
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
270 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
271 |
\begin{block}{} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
272 |
\begin{center} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
273 |
This spoken tutorial has been produced by the |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
274 |
\textcolor{blue}{FOSSEE} team, which is funded by the |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
275 |
\end{center} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
276 |
\begin{center} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
277 |
\textcolor{blue}{National Mission on Education through \\ |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
278 |
Information \& Communication Technology \\ |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
279 |
MHRD, Govt. of India}. |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
280 |
\end{center} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
281 |
\end{block} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
282 |
\end{frame} |
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
283 |
|
d98f554bbec0
added slides for getting-started-with-arrays.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff
changeset
|
284 |
\end{document} |