Gets the number of function evaluations performed by the
algorithm.
Namespace: Extreme.Mathematics.Calculus
Assembly: Extreme.Numerics (in Extreme.Numerics)
Version: 2.1.7017.0
Syntax
| Visual Basic (Declaration) |
|---|
Public Overridable ReadOnly Property FunctionEvaluationsNeeded As Integer |
| C# |
|---|
public virtual int FunctionEvaluationsNeeded { get; } |
| Visual C++ |
|---|
public: virtual property int FunctionEvaluationsNeeded { int get (); } |
Field Value
An integer.
Remarks
Many algorithms use integration rules that require
the integrand to be evaluated more than once. For
some algorithms, the number of function evaluations
grows exponentially with each iteration.
The FunctionEvaluationsNeeded
property provides a more meaningful parameter
to measure the efficiency of an integration
than IterationsNeeded.
An algorithm that uses few function evaluations in relatively many iterations is preferable over an algorithm that takes only a few iterations but evaluates the integrand many more times.
If the integration has not been performed, this property returns 0.