It seems lsolve and usolve are only working for the square matrices.
Why is it so? I think it should work for non-square matrices as well.
Well, the important one is the usolve, because if you use LU decomposition
(in my case using lup), you get square L matrix and non-square U matrix.
It seems
lsolveandusolveare only working for the square matrices.Why is it so? I think it should work for non-square matrices as well.
Well, the important one is the
usolve, because if you use LU decomposition(in my case using
lup), you get square L matrix and non-square U matrix.