summaryrefslogtreecommitdiff
path: root/day1
diff options
context:
space:
mode:
authorPuneeth Chaganti2010-12-09 22:48:38 +0530
committerPuneeth Chaganti2010-12-09 22:48:38 +0530
commite5aa3b06591327e23fed55fc92ab0ff610f5a3f7 (patch)
tree9447eea2b783effdc1a91a658e723eeb10dcc1c0 /day1
parent44733bf859c288901ad00c55c64497771443400d (diff)
downloadworkshops-e5aa3b06591327e23fed55fc92ab0ff610f5a3f7.tar.gz
workshops-e5aa3b06591327e23fed55fc92ab0ff610f5a3f7.tar.bz2
workshops-e5aa3b06591327e23fed55fc92ab0ff610f5a3f7.zip
Replaced random array with linspace in day1/session3.
--HG-- branch : scipyin2010
Diffstat (limited to 'day1')
-rw-r--r--day1/session3.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/day1/session3.tex b/day1/session3.tex
index 9c5096a..d77ae4e 100644
--- a/day1/session3.tex
+++ b/day1/session3.tex
@@ -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))