Simple Convergence Test<T> Constructor
Definition
Namespace: Numerics.NET.Algorithms
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Simple | Constructs a new SimpleConvergenceTest<T> object. |
Simple | Constructs a new SimpleConvergenceTest<T> object. |
Simple | Constructs a new SimpleConvergenceTest<T> object. |
SimpleConvergenceTest<T>
Constructs a new SimpleConvergenceTest<T> object.
public SimpleConvergenceTest()
SimpleConvergenceTest<T>(Func<T>, ConvergenceCriterion)
Constructs a new SimpleConvergenceTest<T> object.
public SimpleConvergenceTest(
Func<T> errorEvaluator,
ConvergenceCriterion convergenceCriterion
)
Parameters
- errorEvaluator Func<T>
- A delegate that takes no arguments and returns the estimated error.
- convergenceCriterion ConvergenceCriterion
- A ConvergenceCriterion value that specifies the type of convergence condition.
Exceptions
Argument | errorEvaluator is null. |
SimpleConvergenceTest<T>(Func<T>, Func<T>, ConvergenceCriterion)
Constructs a new SimpleConvergenceTest<T> object.
public SimpleConvergenceTest(
Func<T> errorEvaluator,
Func<T> valueEvaluator,
ConvergenceCriterion convergenceCriterion
)
Parameters
- errorEvaluator Func<T>
- A delegate with no arguments that returns a real number that returns the estimated error.
- valueEvaluator Func<T>
- A delegate with no arguments that returns a real number that returns the estimated value.
- convergenceCriterion ConvergenceCriterion
- A ConvergenceCriterion value that specifies the type of convergence condition.
Exceptions
Argument | errorEvaluator is null. |