Change the element-wise multiply operator to the matrix multiply operator.

pull/4/head
Matthew Reeves 2020-08-30 14:28:54 -07:00
parent bcfb8e9656
commit 510273cfa1
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"
]
},
{