Reuses the object's storage to compute a new factorization of the single-precision matrix.
SDKs
- iOS 11+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 11+
- watchOS 4+
Framework
- Accelerate
Declaration
void SparseRefactor(Sparse Matrix _Float Matrix, Sparse Opaque Factorization _Float *Factorization);
Parameters
Matrix
The matrix containing numerical data to recompute.
Factorization
On input, the factorization to recompute. On output, the recomputed result.
Discussion
Matrix
must have the same non-zero structure as that used for the original factorization.
The same numerical factorization options will be used as in the original construction of Factorization
.
This call provides very similar behavior to that which can be achieved by reusing explicit storage supplied to Sparse
as the argument factor
. However, in addition to providing a simplified call sequence, this call can also reuse any additional storage allocated to accommodate delayed pivots.
Note that if the reference count of the underlying object is not exactly one (that is, if there are any implicit copies as a result of calls to transpose or extract factor functions that have not been destroyed through a call to the relevant cleanup function), then new storage will be allocated regardless.