@@ -84,7 +84,7 @@ <h2 class="subtitle" id="copyright-c-2017-nicolas-p-rougier-nicolas-rougier-inri
8484</ li >
8585< li > < a class ="reference internal " href ="#beyond-numpy " id ="id80 "> Beyond Numpy</ a > < ul >
8686< li > < a class ="reference internal " href ="#back-to-python " id ="id81 "> Back to Python</ a > </ li >
87- < li > < a class ="reference internal " href ="#numpy-co " id ="id82 "> numpy & co</ a > </ li >
87+ < li > < a class ="reference internal " href ="#numpy-co " id ="id82 "> Numpy & co</ a > </ li >
8888< li > < a class ="reference internal " href ="#scipy-co " id ="id83 "> Scipy & co</ a > </ li >
8989< li > < a class ="reference internal " href ="#id49 " id ="id84 "> Conclusion</ a > </ li >
9090</ ul >
@@ -353,7 +353,8 @@ <h2><a class="toc-backref" href="#table-of-contents">Readability vs speed</a></h
353353time of writing, you'll be unable to guess what a function is doing after a few
354354weeks (or even days). For example, can you tell what the two functions below
355355are doing? Probably you can tell for the first one, but unlikely for the second
356- (or you don't need to read this book).</ p >
356+ (or your name is < a class ="reference external " href ="http://stackoverflow.com/questions/7100242/python-numpy-first-occurrence-of-subarray "> Jaime Fernández del Río</ a >
357+ and you don't need to read this book).</ p >
357358< pre class ="code python literal-block ">
358359< span class ="keyword "> def</ span > < span class ="name function "> function_1</ span > < span class ="punctuation "> (</ span > < span class ="name "> seq</ span > < span class ="punctuation "> ,</ span > < span class ="name "> sub</ span > < span class ="punctuation "> ):</ span >
359360 < span class ="keyword "> return</ span > < span class ="punctuation "> [</ span > < span class ="name "> i</ span > < span class ="keyword "> for</ span > < span class ="name "> i</ span > < span class ="operator word "> in</ span > < span class ="name builtin "> range</ span > < span class ="punctuation "> (</ span > < span class ="name builtin "> len</ span > < span class ="punctuation "> (</ span > < span class ="name "> seq</ span > < span class ="punctuation "> )</ span > < span class ="operator "> -</ span > < span class ="name builtin "> len</ span > < span class ="punctuation "> (</ span > < span class ="name "> sub</ span > < span class ="punctuation "> ))</ span > < span class ="keyword "> if</ span > < span class ="name "> seq</ span > < span class ="punctuation "> [</ span > < span class ="name "> i</ span > < span class ="punctuation "> :</ span > < span class ="name "> i</ span > < span class ="operator "> +</ span > < span class ="name builtin "> len</ span > < span class ="punctuation "> (</ span > < span class ="name "> sub</ span > < span class ="punctuation "> )]</ span > < span class ="operator "> ==</ span > < span class ="name "> sub</ span > < span class ="punctuation "> ]</ span >
@@ -2444,7 +2445,7 @@ <h1><a class="toc-backref" href="#table-of-contents">Beyond Numpy</a></h1>
24442445< p class ="topic-title first "> < strong > Contents</ strong > </ p >
24452446< ul class ="simple ">
24462447< li > < a class ="reference internal " href ="#back-to-python " id ="id158 "> Back to Python</ a > </ li >
2447- < li > < a class ="reference internal " href ="#numpy-co " id ="id159 "> numpy & co</ a > < ul >
2448+ < li > < a class ="reference internal " href ="#numpy-co " id ="id159 "> Numpy & co</ a > < ul >
24482449< li > < a class ="reference internal " href ="#numexpr " id ="id160 "> NumExpr</ a > </ li >
24492450< li > < a class ="reference internal " href ="#cython " id ="id161 "> Cython</ a > </ li >
24502451< li > < a class ="reference internal " href ="#numba " id ="id162 "> Numba</ a > </ li >
@@ -2567,7 +2568,7 @@ <h2><a class="toc-backref" href="#id34">Back to Python</a></h2>
25672568simple generator might do the job.</ p >
25682569</ div >
25692570< div class ="section " id ="numpy-co ">
2570- < h2 > < a class ="toc-backref " href ="#id34 "> numpy & co</ a > </ h2 >
2571+ < h2 > < a class ="toc-backref " href ="#id34 "> Numpy & co</ a > </ h2 >
25712572< p > Beyond numpy, there are several other Python packages that are worth a look
25722573because they address similar yet different class of problems using different
25732574technology (compilation, virtual machine, just in time compilation, GPU,
0 commit comments