Computes a minimum of the specified function.
Namespace: Extreme.MathematicsAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public static SolutionReport<double, double> FindMinimum(
this Func<double, double> objectiveFunction,
double lowerBound,
double upperBound
)
<ExtensionAttribute>
Public Shared Function FindMinimum (
objectiveFunction As Func(Of Double, Double),
lowerBound As Double,
upperBound As Double
) As SolutionReport(Of Double, Double)
public:
[ExtensionAttribute]
static SolutionReport<double, double>^ FindMinimum(
Func<double, double>^ objectiveFunction,
double lowerBound,
double upperBound
)
[<ExtensionAttribute>]
static member FindMinimum :
objectiveFunction : Func<float, float> *
lowerBound : float *
upperBound : float -> SolutionReport<float, float>
Parameters
- objectiveFunction
- Type: SystemFuncDouble, Double
A delegate that represents a function of one variable that specifies the objective function. - lowerBound
- Type: SystemDouble
The lower bound of the interval where a minimum is to be located. - upperBound
- Type: SystemDouble
The upper bound of the interval where a minimum is to be located.
Return Value
Type:
SolutionReportDouble,
DoubleA local minimum of
objectiveFunction.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
FuncDouble,
Double. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Numerical Libraries
Supported in: 6.0, 5.x, 4.x
Reference