diff --git a/README.html b/README.html index 1ccfb2e..070994b 100644 --- a/README.html +++ b/README.html @@ -322,10 +322,10 @@

Counting neighbours

corresponds to the formula above applied individually to each element. Said differently, we have (1+(2*Z+3))[i,j] == (1+(2*Z[i,j]+3)) for any i,j.

Ok, so far, so good. Now what happens if we add Z with one of its subpart, -let's say Z[-1:1,-1:1] ?

+let's say Z[1:-1,1:-1] ?

->>> Z + Z[-1:1,-1:1]
+>>> Z + Z[1:-1,1:-1]
 Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 ValueError: operands could not be broadcast together with shapes (6,6) (4,4)
diff --git a/README.rst b/README.rst
index 4b4e896..0fb3b3b 100644
--- a/README.rst
+++ b/README.rst
@@ -18,13 +18,12 @@ Sources are available from `github `_
 All code and material is licensed under a `Creative Commons
 Attribution-ShareAlike 4.0 `_.
 
-Tutorial can be read at http://www.labri.fr/perso/nrougier/teaching/numpy/numpy.html
 
 See also:
+ * `From Python to Numpy `_
  * `Matplotlib tutorial `_
  * `100 Numpy exercices `_
 
-
 Introduction
 ============
 
@@ -328,9 +327,9 @@ corresponds to the formula above applied individually to each element. Said
 differently, we have ``(1+(2*Z+3))[i,j] == (1+(2*Z[i,j]+3))`` for any i,j.
 
 Ok, so far, so good. Now what happens if we add Z with one of its subpart,
-let's say ``Z[-1:1,-1:1]`` ?
+let's say ``Z[1:-1,1:-1]`` ?
 
-  >>> Z + Z[-1:1,-1:1]
+  >>> Z + Z[1:-1,1:-1]
   Traceback (most recent call last):
   File "", line 1, in 
   ValueError: operands could not be broadcast together with shapes (6,6) (4,4)  
@@ -590,7 +589,7 @@ obtained via the `finite difference method
               Z[1:-1,0:-2] - 4*Z[1:-1,1:-1] + Z[1:-1,2:] +
                                Z[2:  ,1:-1] )
 
-Finally, we can iterate the computation after havong choosed some interesting parameters::
+Finally, we can iterate the computation after choosing some interesting parameters::
 
   for i in range(25000):
       Lu = laplacian(U)