ManagedIterativeAlgorithm<T, TError, TReport>.SetResult Method

Sets the results of an algorithm's execution.

Definition

Namespace: Extreme.Mathematics.Algorithms
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
protected void SetResult(
	T result,
	TError estimatedError,
	AlgorithmStatus status,
	int iterations
)

Parameters

result  T
An Object of a type determined by the class implementing the interface.
estimatedError  TError
A value indicating the size of the absolute error of the result.
status  AlgorithmStatus
One of the AlgorithmStatus values.
iterations  Int32
The number of iterations that were executed.

Remarks

This method must be called after the iteration terminates. It may also be called after each iteration to provide intermediate results.

See Also