Merge pull request #4 from hazcat/ch01_fix

Change the element-wise multiply operator to the matrix multiply operator
pull/6/head
Daniel Dylewsky 2020-08-30 15:32:42 -07:00 committed by GitHub
commit 5405937996
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@
"# x = regress(b,A)\n",
"\n",
"# Alternative 2:\n",
"x = np.linalg.pinv(A)*b"
"x = np.linalg.pinv(A)@b"
]
},
{