TSparsePattern Enumeration

Source: sparse.cs · Assembly: Dew.Math

public enum TSparsePattern

Defines how to solve the matrix using the Solve method.

Values

NameDescription
sppNoneThe matrix pattern will be analyzed, the upper triangle matrix will be formed and the system will be solved. In this case the pattern of matrix changes with each iteration.
sppNumericThe matrix pattern and the values of the matrix will remain fixed. The Dew.Math.TSparseMtx.Solve method will only call the routine to solve the upper triangular matrix. The pattern analysis and matrix factorization will be performed only on the first call to the Solve method. To reset the matrix factorization call the Dew.Math.TSparseMtx.FreeNumeric method. To also reset the matrix pattern, call the Dew.Math.TSparseMtx.FreeSymbolic method after . Both Symbolic and Numeric states are freed automatically when the Dew.Math.TSparseMtx.SparsePattern property is changed to sppNone.
sppNumericIterative
sppSymbolicThe matrix pattern will be analyzed only with the first call to the Dew.Math.TSparseMtx.Solve method. In this case the pattern of the matrix is fixed, but the values can change between consecutive calls to the Solve method. To reset the stored pattern of the matrix and prepare for a new pattern, call the FreeSymbolic method.