1 | initial version |
code above will throw an exception, and won't work as is.
matrix multiplication is basically: _ * |
, so if v = a single column, and M.cols==v.rows, it is:
v * M == M.t() * v.t()
(and the inversion does not matter at all here, since it does not change the shape of M)
2 | No.2 Revision |
code above will throw an exception, and won't work as is.
matrix multiplication is basically: _ * |
, so if v = a single columnrow, and M.cols==v.rows, M.rows==v.cols, it is:
v * M == M.t() * v.t()
(and the inversion does not matter at all here, since it does not change the shape of M)
3 | No.3 Revision |
code above will throw an exception, and won't work as is.
matrix multiplication is basically: _ * |
, so if v = a single row, and M.rows==v.cols, it is:
v * M == M.t() (M.t() * v.t()
v.t()).t()
(and the inversion does not matter at all here, since it does not change the shape of M)