template <class Scalar> std::string
solve_lower_cppad(
constCPPAD_SPARSE(Scalar)& A ,
VECTOR(Scalar)& x ,
constVECTOR(Scalar)& b )
A
Is the a square lower triangular matrix in row-major order.
We use
n
to denote the number for rows and columns in
A
;
i.e.,
n
is equal to both
A.nr()
and
A.nc()
.
x
This vector has size
n
and satisfies the equation
A * x = b
msg
If the return value
msg
is empty, no error has occurred.
Otherwise, it is one of the following
"A is not in row-major order"
"A is not lower triangular"
"A is not invertible"
.