Acts as an abstract base class for classes that implement
an iterative algorithm.
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public MustInherit Class IterativeAlgorithm |
| C# |
|---|
public abstract class IterativeAlgorithm |
| C++ |
|---|
public ref class IterativeAlgorithm abstract |
Methods
| Icon | Type | Description |
|---|---|---|
| Equals(Object) | ||
| Finalize() | ||
| GetHashCode() | Serves as a hash function for a particular type. | |
| GetType() | Gets the Type of the current instance. | |
| IncrementEvaluations() |
Increments the number of evaluations by one.
| |
| IncrementEvaluations(Int32) |
Increments the number of evaluations by the specified amount.
| |
| MemberwiseClone() | Creates a shallow copy of the current Object. | |
| SetResultProperties(Object, Double, AlgorithmStatus, Int32) |
Sets the results of an algorithm's execution.
| |
| SetResultProperties(Object, Double) |
Sets the results of an algorithm's execution.
| |
| ThrowException() |
Interprets the AlgorithmStatus and
throws the appropriate exception.
| |
| ToString() |
Fields
| Icon | Type | Description |
|---|---|---|
| DefaultConvergenceCriterion |
Gets the default convergence criterion.
| |
| DefaultTolerance |
Gets the default absolute and relative tolerance.
|
Constructors
| Icon | Type | Description |
|---|---|---|
| IterativeAlgorithmNew() |
Constructs a new IterativeAlgorithm object.
|
Properties
| Icon | Type | Description |
|---|---|---|
| AbsoluteTolerance |
Gets or sets the absolute tolerance used in the
convergence test.
| |
| ConvergenceCriterion |
Gets or sets a value specifying the criterion that is
to be used in the convergence test for the algorithm.
| |
| EstimatedError |
Gets a value indicating the size of the absolute
error of the result.
| |
| EvaluationsNeeded |
Gets the number of evaluations needed to execute the algorithm.
| |
| EvaluationsRemaining |
Gets the number of evaluations still available.
| |
| IterationResultCode |
Gets the AlgorithmStatus following
an execution of the algorithm.
| |
| IterationsNeeded |
Gets the number of iterations needed by the
algorithm to reach the desired accuracy.
| |
| IterationsRemaining |
Gets the number of iterations remaining.
| |
| MaxEvaluations |
Gets or sets the maximum number of evaluations during the calculation.
| |
| MaxIterations | Gets or sets the maximum number of iterations
to use when approximating the roots of the target
function.
| |
| RelativeTolerance |
Gets or sets the relative tolerance used in the
convergence test.
| |
| Result |
Gets the result of an algorithm after it has executed.
| |
| Status |
Gets the AlgorithmStatus following
an execution of the algorithm.
| |
| ThrowExceptionOnFailure |
Gets or sets a value indicating whether to throw an
exception when the algorithm fails to converge.
|
Remarks
This class is primarily used to support iterative
algorithms within the library. It defines properties and methods
that are shared by all iterative algorithm implementations.
It is likely that the implementation details of iterative algorithms will change in the future. Some interface changes may also be required.