Returns the solution of the system Ax=B where A is symmetric positive definite.
This overload handles arguments where one of T1 or T2 are var_value<T>
where T
is an Eigen type. The other type can also be a var_value
or it can be a matrix type that inherits from EigenBase
- Template Parameters
-
T1 | type of the first matrix |
T2 | type of the right-hand side matrix or vector |
- Parameters
-
A | Matrix. |
B | Right hand side matrix or vector. |
- Returns
- x = A^-1 B, solution of the linear system.
- Exceptions
-
std::domain_error | if A is not square or B does not have as many rows as A has columns. |
Definition at line 262 of file mdivide_left_spd.hpp.