|
Macaulay2 Engine
|
| MutableMatrix * rawLinAlgSolve | ( | const MutableMatrix * | A, |
| const MutableMatrix * | B, | ||
| int * | success ) |
Returns X s.t. AX = B. Assumptions: A has the same number of rows as B. A doesn't have to be invertible or square. If a usage error occurs, NULL is returned and 'success' is set to 0. In all other cases, 'success' is set to 1. If AX=B has no solutions, then NULL is returned, otherwise a matrix X solving AX=B is returned.
Definition at line 898 of file mutable-matrix.cpp.
References ERROR, internMutableMatrix(), result(), and MutableMatrix::solveLinear().