From e5aa3b06591327e23fed55fc92ab0ff610f5a3f7 Mon Sep 17 00:00:00 2001 From: Puneeth Chaganti Date: Thu, 9 Dec 2010 22:48:38 +0530 Subject: Replaced random array with linspace in day1/session3. --HG-- branch : scipyin2010 --- day1/session3.tex | 4 ++-- 1 file 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)) -- cgit