author | Shantanu <shantanu@fossee.in> |
Fri, 16 Apr 2010 12:01:01 +0530 | |
changeset 71 | bc3f351aeec9 |
parent 68 | fe5d3fb83597 |
permissions | -rw-r--r-- |
65
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
1 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
2 |
%Tutorial slides on Python. |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
3 |
% |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
4 |
% Author: FOSSEE |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
5 |
% Copyright (c) 2009, FOSSEE, IIT Bombay |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
6 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
7 |
|
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
8 |
\documentclass[14pt,compress]{beamer} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
9 |
%\documentclass[draft]{beamer} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
10 |
%\documentclass[compress,handout]{beamer} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
11 |
%\usepackage{pgfpages} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
12 |
%\pgfpagesuselayout{2 on 1}[a4paper,border shrink=5mm] |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
13 |
|
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
14 |
% Modified from: generic-ornate-15min-45min.de.tex |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
15 |
\mode<presentation> |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
16 |
{ |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
17 |
\usetheme{Warsaw} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
18 |
\useoutertheme{infolines} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
19 |
\setbeamercovered{transparent} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
20 |
} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
21 |
|
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
22 |
\usepackage[english]{babel} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
23 |
\usepackage[latin1]{inputenc} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
24 |
%\usepackage{times} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
25 |
\usepackage[T1]{fontenc} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
26 |
|
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
27 |
% Taken from Fernando's slides. |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
28 |
\usepackage{ae,aecompl} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
29 |
\usepackage{mathpazo,courier,euler} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
30 |
\usepackage[scaled=.95]{helvet} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
31 |
|
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
32 |
\definecolor{darkgreen}{rgb}{0,0.5,0} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
33 |
|
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
34 |
\usepackage{listings} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
35 |
\lstset{language=Python, |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
36 |
basicstyle=\ttfamily\bfseries, |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
37 |
commentstyle=\color{red}\itshape, |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
38 |
stringstyle=\color{darkgreen}, |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
39 |
showstringspaces=false, |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
40 |
keywordstyle=\color{blue}\bfseries} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
41 |
|
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
42 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
43 |
% Macros |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
44 |
\setbeamercolor{emphbar}{bg=blue!20, fg=black} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
45 |
\newcommand{\emphbar}[1] |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
46 |
{\begin{beamercolorbox}[rounded=true]{emphbar} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
47 |
{#1} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
48 |
\end{beamercolorbox} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
49 |
} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
50 |
\newcounter{time} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
51 |
\setcounter{time}{0} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
52 |
\newcommand{\inctime}[1]{\addtocounter{time}{#1}{\tiny \thetime\ m}} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
53 |
|
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
54 |
\newcommand{\typ}[1]{\lstinline{#1}} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
55 |
|
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
56 |
\newcommand{\kwrd}[1]{ \texttt{\textbf{\color{blue}{#1}}} } |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
57 |
|
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
58 |
% Title page |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
59 |
\title{Python for Scientific Computing : Matrices} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
60 |
|
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
61 |
\author[FOSSEE] {FOSSEE} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
62 |
|
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
63 |
\institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
64 |
\date{} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
65 |
|
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
66 |
% DOCUMENT STARTS |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
67 |
\begin{document} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
68 |
|
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
69 |
\begin{frame} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
70 |
\maketitle |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
71 |
\end{frame} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
72 |
|
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
73 |
\begin{frame} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
74 |
\frametitle{About the Session} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
75 |
\begin{block}{Goal} |
71 | 76 |
\begin{itemize} |
77 |
\item Perform efficient matrix operations. |
|
78 |
\item Basic Image processing. |
|
79 |
\end{itemize} |
|
65
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
80 |
\end{block} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
81 |
\begin{block}{Checklist} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
82 |
\begin{itemize} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
83 |
\item lena.png |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
84 |
\end{itemize} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
85 |
\end{block} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
86 |
\end{frame} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
87 |
|
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
88 |
\begin{frame} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
89 |
\frametitle{Matrix operations using arrays} |
67 | 90 |
Matrices using arrays: |
65
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
91 |
\begin{itemize} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
92 |
\item Creating and initializing arrays |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
93 |
\item Manipulating arrays |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
94 |
\item Using arrays to solve problems |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
95 |
\end{itemize} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
96 |
\end{frame} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
97 |
|
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
98 |
\begin{frame}[fragile] |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
99 |
\frametitle{Summary} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
100 |
\begin{block}{Matrices} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
101 |
\begin{itemize} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
102 |
\item Creating and initializing arrays |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
103 |
\item Manipulating arrays |
68
fe5d3fb83597
Changes to arrays presentation.
Shantanu <shantanu@fossee.in>
parents:
67
diff
changeset
|
104 |
\item Basic Image processing using arrays |
65
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
105 |
\item Performing Matrix operations using arrays |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
106 |
\end{itemize} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
107 |
\end{block} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
108 |
\end{frame} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
109 |
|
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
110 |
\begin{frame} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
111 |
\frametitle{Thank you!} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
112 |
\begin{block}{} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
113 |
This session is part of \textcolor{blue}{FOSSEE} project funded by: |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
114 |
\begin{center} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
115 |
\textcolor{blue}{NME through ICT from MHRD, Govt. of India}. |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
116 |
\end{center} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
117 |
\end{block} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
118 |
\end{frame} |
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
119 |
|
58fb6f33f4bc
Added the presentation tex file for arrays tutorial.
Santosh G. Vattam <vattam.santosh@gmail.com>
parents:
diff
changeset
|
120 |
\end{document} |