diff options
author | Shantanu Choudhary | 2009-12-22 14:10:37 +0530 |
---|---|---|
committer | Shantanu Choudhary | 2009-12-22 14:10:37 +0530 |
commit | 534604c38b300b6b419362c487cbf779e7f76ea8 (patch) | |
tree | 1521217ba931f93a96ad98c3019110c89a720b8a /day1/session4.tex | |
parent | b902fbdf147a74f1c38b6f00208d753e7021e4ae (diff) | |
download | workshops-534604c38b300b6b419362c487cbf779e7f76ea8.tar.gz workshops-534604c38b300b6b419362c487cbf779e7f76ea8.tar.bz2 workshops-534604c38b300b6b419362c487cbf779e7f76ea8.zip |
commited changes made for scipy and cheatsheats.
Diffstat (limited to 'day1/session4.tex')
-rw-r--r-- | day1/session4.tex | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/day1/session4.tex b/day1/session4.tex index 3cff99c..33f1f68 100644 --- a/day1/session4.tex +++ b/day1/session4.tex @@ -79,7 +79,7 @@ \author[FOSSEE] {FOSSEE} \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay} -\date[] {7 November, 2009\\Day 1, Session 4} +\date[] {14 December, 2009\\Day 1, Session 4} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %\pgfdeclareimage[height=0.75cm]{iitmlogo}{iitmlogo} @@ -287,8 +287,6 @@ In []: a = imread('lena.png') In []: imshow(a) Out[]: <matplotlib.image.AxesImage object at 0xa0384cc> -In []: a.shape -Out[]: (512, 512, 4) \end{lstlisting} \end{small} \begin{itemize} @@ -317,6 +315,11 @@ Out[]: <matplotlib.image.AxesImage object at 0xb765c8c> \begin{frame}[fragile] \frametitle{Transpose of a Matrix} \begin{lstlisting} +In []: a = array([[ 1, 1, 2, -1], + ...: [ 2, 5, -1, -9], + ...: [ 2, 1, -1, 3], + ...: [ 1, -3, 2, 7]]) + In []: a.T Out[]: array([[ 1, 2, 2, 1], |