Return the result of left dividing the second argument by the first argument.
Calling mdivide_left_tri_low(A,
b)
with divisor A
and dividend b
is more arithmetically stable than calling inv(A) * b
.
- Template Parameters
-
T1 | type of the divisor matrix |
T2 | type of the dividend matrix |
- Parameters
-
A | divisor, an invertible square matrix |
b | dividend, a matrix or vector with the same number of rows as the divisor has columns |
- Returns
- left division of b by A
- Exceptions
-
std::invalid_argument | if the divisor is not square or the dividend does not have the same number of rows as the divisor has columns. |
Definition at line 33 of file mdivide_left_tri_low.hpp.