author | Puneeth Chaganti <punchagan@fossee.in> |
Thu, 09 Dec 2010 22:48:38 +0530 | |
branch | scipyin2010 |
changeset 446 | b9d07ebd783b |
parent 445 | 956b486ffe6f |
child 447 | df747c8d70e0 |
day1/session3.tex | file | annotate | diff | comparison | revisions |
--- 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))