Computes a minimum of the specified function.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static SolutionReport<double, double> FindMinimum(
this Func<double, double> objectiveFunction,
double initialGuess
)
<ExtensionAttribute>
Public Shared Function FindMinimum (
objectiveFunction As Func(Of Double, Double),
initialGuess As Double
) As SolutionReport(Of Double, Double)
public:
[ExtensionAttribute]
static SolutionReport<double, double>^ FindMinimum(
Func<double, double>^ objectiveFunction,
double initialGuess
)
[<ExtensionAttribute>]
static member FindMinimum :
objectiveFunction : Func<float, float> *
initialGuess : float -> SolutionReport<float, float>
Parameters
- objectiveFunction
- Type: SystemFuncDouble, Double
A delegate that represents a function of one variable that specifies the objective function. - initialGuess
- Type: SystemDouble
An initial guess for the minimum.
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).
Reference