You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Matrix Structure > Matrix Properties > Matrix.RefineSolution Property
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Matrix.RefineSolution Property

Enables/disables the refining of the solution of the system of linear equations.

Syntax
C#
Visual Basic
public bool RefineSolution;

The method enables/disables the refining of the solution of the system of linear equations, computed by LUSolve method. When RefineSolution is enabled, an iterative refinement of the solution to a system of linear equations is executed. For each computed solution the component-wise BackError and the the component-wise ForwError in the computed solution are calculated as well.

var X,B: Vector; A: Matrix; begin B.SetIt(False,[0,2]); A.SetIt(2,2,false,[1,2, 3,4]); // 2x2, not complex matrix A.RefineSolution := True; A.ConditionNumber := cnNormInf; A.LUSolve(B,X); end;
Copyright (c) 1999-2022 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!