Skip to content

Commit bdc3b40

Browse files
committed
Update exercise04_svd.ipynb
1 parent 88c1be0 commit bdc3b40

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

exercise04_svd.ipynb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,11 @@
143143
"metadata": {},
144144
"outputs": [],
145145
"source": [
146+
"from IPython.display import Image\n",
146147
"# image from the brilliant project Kenji Hiranabe: Graphic notes on Gilbert Strang's \"Linear Algebra for Everyone\"\n",
147148
"# found at https://github.com/kenjihiranabe/The-Art-of-Linear-Algebra\n",
148149
"# CC0-1.0 License\n",
149-
"display.Image('https://github.com/kenjihiranabe/The-Art-of-Linear-Algebra/raw/main/SVD.png')"
150+
"Image('https://github.com/kenjihiranabe/The-Art-of-Linear-Algebra/raw/main/SVD.png')"
150151
]
151152
},
152153
{
@@ -186,7 +187,7 @@
186187
"# image from the brilliant project Kenji Hiranabe: Graphic notes on Gilbert Strang's \"Linear Algebra for Everyone\"\n",
187188
"# found at https://github.com/kenjihiranabe/The-Art-of-Linear-Algebra\n",
188189
"# CC0-1.0 License\n",
189-
"display.Image('https://github.com/kenjihiranabe/The-Art-of-Linear-Algebra/raw/main/4-Subspaces.png')"
190+
"Image('https://github.com/kenjihiranabe/The-Art-of-Linear-Algebra/raw/main/4-Subspaces.png')"
190191
]
191192
},
192193
{
@@ -204,7 +205,7 @@
204205
"\n",
205206
"# Left Null Space, if empty only 0 vector\n",
206207
"print('left null space (ortho to column space):')\n",
207-
"print(U[:, rank:])\n",
208+
"print('\\t', U[:, rank:])\n",
208209
"\n",
209210
"print('###')\n",
210211
"\n",

0 commit comments

Comments
 (0)