Solves the system AX = B for X, using the supplied double-precision factorization of A, in place.
- iOS 11+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 11+
- watchOS 4+
Factorization of A.
On entry, the right-hand side, B. On return, the solution vectors X. If A has dimension m x n, then XB must have dimension k x nrhs, where k = max(m,n) and nrhs is the number of right-hand sides to find solutions for.
If the factorization is A = QR and the system is underdetermined, the solution of minimum norm ‖ X ‖₂ is returned.
If the factorization is A = QR and the system is overdetermined, the least squares solution argument minₓ ‖ AX - B ‖₂ is returned.
In the case of a factorization of type
Sparse, the factorization is in fact of AᵀA, so the solution returned is for the system AᵀAX = B.