day1/session3.tex
branchscipyin2010
changeset 446 b9d07ebd783b
parent 444 a1117e03f98a
child 448 dc8d666a594a
--- a/day1/session3.tex	Thu Dec 09 22:37:22 2010 +0530
+++ b/day1/session3.tex	Thu Dec 09 22:48:38 2010 +0530
@@ -137,8 +137,8 @@
 \begin{frame}[fragile]
   \frametitle{Speed}
     \begin{lstlisting}
-In []: a = random(1000000) 
-# array with a million random elements
+In []: a = linspace(0, 100*pi, 1000000) 
+# array with a million elements
 In []: b = []
 In []: for each in a:
   ...:     b.append(sin(each))