Merge pull request #4 from hazcat/ch01_fix
Change the element-wise multiply operator to the matrix multiply operatorpull/6/head
commit
5405937996
|
@ -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"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue