Merge pull request #43 from R3DDY97/fix-typo

Fix typo in Excercise no.23,42.
This commit is contained in:
Nicolas P. Rougier authored and GitHub committed 2017-03-30 22:24:38 +02:00
commit 62bf042b6c
4 files changed
+8 -8

No files matched your search

+2 -2
View File
@@ -381,7 +381,7 @@
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [ "source": [
"#### 23. Create a custom dtype that describes a color as four unisgned bytes (RGBA) (★☆☆)" "#### 23. Create a custom dtype that describes a color as four unsigned bytes (RGBA) (★☆☆)"
] ]
}, },
{ {
@@ -732,7 +732,7 @@
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [ "source": [
"#### 42. Consider two random array A anb B, check if they are equal (★★☆)" "#### 42. Consider two random array A and B, check if they are equal (★★☆)"
] ]
}, },
{ {
+2 -2
View File
@@ -105,7 +105,7 @@ np.nan - np.nan
#### 23. Create a custom dtype that describes a color as four unisgned bytes (RGBA) (★☆☆) #### 23. Create a custom dtype that describes a color as four unsigned bytes (RGBA) (★☆☆)
@@ -204,7 +204,7 @@ np.sqrt(-1) == np.emath.sqrt(-1)
#### 42. Consider two random array A anb B, check if they are equal (★★☆) #### 42. Consider two random array A and B, check if they are equal (★★☆)
+2 -2
View File
@@ -444,7 +444,7 @@
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [ "source": [
"#### 23. Create a custom dtype that describes a color as four unisgned bytes (RGBA) (★☆☆)" "#### 23. Create a custom dtype that describes a color as four unsigned bytes (RGBA) (★☆☆)"
] ]
}, },
{ {
@@ -850,7 +850,7 @@
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [ "source": [
"#### 42. Consider two random array A anb B, check if they are equal (★★☆)" "#### 42. Consider two random array A and B, check if they are equal (★★☆)"
] ]
}, },
{ {
+2 -2
View File
@@ -192,7 +192,7 @@ Z = (Z - Zmin)/(Zmax - Zmin)
print(Z) print(Z)
``` ```
#### 23. Create a custom dtype that describes a color as four unisgned bytes (RGBA) (★☆☆) #### 23. Create a custom dtype that describes a color as four unsigned bytes (RGBA) (★☆☆)
```python ```python
@@ -392,7 +392,7 @@ Z = np.arange(10)
np.add.reduce(Z) np.add.reduce(Z)
``` ```
#### 42. Consider two random array A anb B, check if they are equal (★★☆) #### 42. Consider two random array A and B, check if they are equal (★★☆)
```python ```python