You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But there is an exception, if we multiply a Matrix of shape (3, 1) with a Vector of shape (1, 2), we should obtain a Matrix of shape (3, 2) and not a Vector. We might want a row vector or a colomn vector when possible, but definitly not every time.
Fixed on:
Github
Gitlab
The text was updated successfully, but these errors were encountered:
There is a commentary for the
__mul__
method that saysreturns a Vector if we perform Matrix * Vector multiplication
But in the examples, there is the choice between Matrix and Vector:
(Also the last line has
])
missing)But there is an exception, if we multiply a Matrix of shape
(3, 1)
with a Vector of shape(1, 2)
, we should obtain a Matrix of shape(3, 2)
and not a Vector. We might want a row vector or a colomn vector when possible, but definitly not every time.Fixed on:
The text was updated successfully, but these errors were encountered: