Click or drag to resize

DivergenceStopCriterionTDetermineStatus Method

Determines the status of the iterative calculation based on the stop criteria stored by the current IIterationStopCriterionT. Result is set into Status field.

Namespace: Altaxo.Calc.LinearAlgebra.Solvers
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public IterationStatus DetermineStatus(
	int iterationNumber,
	Vector<T> solutionVector,
	Vector<T> sourceVector,
	Vector<T> residualVector
)

Parameters

iterationNumber  Int32
The number of iterations that have passed so far.
solutionVector  VectorT
The vector containing the current solution values.
sourceVector  VectorT
The right hand side vector.
residualVector  VectorT
The vector containing the current residual vectors.

Return Value

IterationStatus

[Missing <returns> documentation for "M:Altaxo.Calc.LinearAlgebra.Solvers.DivergenceStopCriterion`1.DetermineStatus(System.Int32,Altaxo.Calc.LinearAlgebra.Vector{`0},Altaxo.Calc.LinearAlgebra.Vector{`0},Altaxo.Calc.LinearAlgebra.Vector{`0})"]

Implements

IIterationStopCriterionTDetermineStatus(Int32, VectorT, VectorT, VectorT)
Remarks
The individual stop criteria may internally track the progress of the calculation based on the invocation of this method. Therefore this method should only be called if the calculation has moved forwards at least one step.
See Also