factor
A semi-opaque type representing a matrix factorization in complex float.
Declaration
var factor: SparseOpaqueFactorization_Complex_FloatDiscussion
Use the SparseCleanup function to free resources held by these objects.
The object can be in one of the following states:
Something went wrong with symbolic factorization, nothing is valid.
indicated by
.symbolicFactorization.status < 0
Symbolic factorization was good, but failed in numeric factorization initialization.
indicated by
.symbolicFactorization.status >= 0 && .status < 0 && .numericFactorization == NULLsymbolic factorization may be used for future calls.
Symbolic factorization was good, factor allocated/initialized correctly, but numeric factorization failed e.g. a Cholesky factorization of an indefinite matrix was attempted.
indicated by
.symbolicFactorization.status >= 0 && .status < 0 && .numericFactorization not NULLuser may pass this object to
SparseRefactor_Doublewith a modified matrix
Symbolic and numeric factorizations are both good
indicated by
.status >= 0
statusIndicates status of factorization object.
attributesFlags associated with this factorization object. In particular, transpose field indicates whether object is considered to be factorization of A or A^T.
symbolicFactorizationSymbolic Factorization upon which this Numeric Factorization depends.
userFactorStorageFlag that indicates if user provided storage backing this object. If true, then factor storage must be freed by the user once all references are finished with (though any additional storage allocated due to pivoting will still be freed by
SparseCleanup).numericFactorizationPointer to private internal representation of numeric factor.
solveWorkspaceRequiredStaticThe required size of workspace, in bytes, for a call to
SparseSolveissolveWorkspaceRequiredStatic + nrhs * solveWorkspaceRequiredPerRHSwherenrhsis the number of right-hand side vectors.solveWorkspaceRequiredPerRHSThe required size of workspace, in bytes, for a call to
SparseSolveissolveWorkspaceRequiredStatic + nrhs * solveWorkspaceRequiredPerRHSwherenrhsis the number of right-hand side vectors.