Sets the results of an algorithm's execution.
Namespace:
Extreme.Mathematics.Algorithms
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
protected void SetResult(
T result,
TError estimatedError,
AlgorithmStatus status,
int iterations
)
Protected Sub SetResult (
result As T,
estimatedError As TError,
status As AlgorithmStatus,
iterations As Integer
)
protected:
void SetResult(
T result,
TError estimatedError,
AlgorithmStatus status,
int iterations
)
member SetResult :
result : 'T *
estimatedError : 'TError *
status : AlgorithmStatus *
iterations : int -> unit
Parameters
- result
- Type: T
An Object of a type
determined by the class implementing the interface.
- estimatedError
- Type: TError
A value indicating the size of the
absolute error of the result. - status
- Type: Extreme.MathematicsAlgorithmStatus
One of the AlgorithmStatus
values. - iterations
- Type: SystemInt32
The number of iterations that
were executed.
This method must be called after the iteration terminates.
It may also be called after each iteration to provide intermediate
results.
Reference