Switch to markdown only
This commit is contained in:
@@ -2193,13 +2193,16 @@
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {
|
||||
"collapsed": true
|
||||
"collapsed": false
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# Author: Alex Riley\n",
|
||||
"# Make sure to read: http://ajcr.net/Basic-guide-to-einsum/\n",
|
||||
"\n",
|
||||
"A = np.random.uniform(0,1,10)\n",
|
||||
"B = np.random.uniform(0,1,10)\n",
|
||||
"\n",
|
||||
"np.einsum('i->', A) # np.sum(A)\n",
|
||||
"np.einsum('i,i->i', A, B) # A * B\n",
|
||||
"np.einsum('i,i', A, B) # np.inner(A, B)\n",
|
||||
|
||||
1189
100 Numpy exercises.md
Normal file
1189
100 Numpy exercises.md
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -9,6 +9,6 @@ reference for both old and new users but also to provide a set of exercices for
|
||||
those who teach.
|
||||
|
||||
→ [Test them on Binder](http://mybinder.org:/repo/rougier/numpy-100)
|
||||
→ [Read them on GitHub](100 Numpy exercises.rst)
|
||||
→ [Read them on GitHub](100 Numpy exercises.md)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user