Switch to markdown only
This commit is contained in:
1 parent
58c23200b6
commit
28c5670563
4 files changed
+1194
-1184
No files matched your search
@@ -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",
|
||||
|
||||
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