ISmLinearEquations.SymmetricMatrixSet

Syntax

SymmetricMatrixSet: Boolean;

Description

The SymmetricMatrixSet property determines whether to cast a system of linear equations to equivalent with positively definite symmetric matrix.

Comments

The property is relevant if the conjugate gradient method for solving linear equation system, that is,  ISmLinearEquations.SLEMethod = SLEMethodType.ConjugateGradient. The conjugate gradient method guarantees convergence only if coefficient matrix is symmetrical and positively definite. If the set coefficient matrix is not symmetric and positively definite, it is required to set SymmetricMatrixSet = True to guarantee convergence.

Available values:

Example

The property use is given in the example for ISmLinearEquations.InitApproximation.

See also:

ISmLinearEquations