day1/session4.tex
changeset 382 41c34770d63a
parent 379 682b6f66fe11
child 384 9f9fddf7e37c
--- a/day1/session4.tex	Tue Mar 23 00:09:50 2010 +0530
+++ b/day1/session4.tex	Mon Mar 29 15:55:07 2010 +0530
@@ -79,7 +79,7 @@
 \author[FOSSEE] {FOSSEE}
 
 \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay}
-\date[] {08 March, 2010\\Day 1, Session 4}
+\date[] {02 April, 2010\\Day 1, Session 4}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 %\pgfdeclareimage[height=0.75cm]{iitmlogo}{iitmlogo}
@@ -171,6 +171,7 @@
 
 \begin{frame}[fragile]
   \frametitle{Accessing elements}
+  \begin{small}
   \begin{lstlisting}
 In []: c
 Out[]: 
@@ -182,16 +183,17 @@
 Out[]: 23
 In []: c[1,2]
 Out[]: 23
+
+In []: c[1]
+Out[]: array([21, 22, 23])
   \end{lstlisting}
+  \end{small}
 \end{frame}
 
 \begin{frame}[fragile]
   \frametitle{Changing elements}
   \begin{small}
   \begin{lstlisting}
-In []: c[1]
-Out[]: array([21, 22, 23])
-
 In []: c[1,1] = -22
 In []: c
 Out[]: 
@@ -394,10 +396,11 @@
 \begin{frame}[fragile]
 \frametitle{Inverse of a Matrix}
 \begin{lstlisting}
-In []: inv(a)
+
 \end{lstlisting}
 \begin{small}
 \begin{lstlisting}
+In []: inv(a)
 Out[]: 
 array([[-0.5 ,  0.55, -0.15,  0.7 ],
        [ 0.75, -0.5 ,  0.5 , -0.75],
@@ -405,6 +408,7 @@
        [ 0.25, -0.25,  0.25, -0.25]])
 \end{lstlisting}
 \end{small}
+\emphbar{Try this: \typ{I = dot(a, inv(a))}}
 \end{frame}
 
 \begin{frame}[fragile]