Function Math.Get Minimizer(Func<Vector<Double>, Double>) Method
Returns an MultidimensionalOptimizer suitable for
finding the minimum of a function using the specified information.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
An MultidimensionalOptimizer object that is set up to find a minimum of objectiveFunction.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static MultidimensionalOptimizer GetMinimizer(
this Func<Vector<double>, double> objectiveFunction
)
Parameters
- objectiveFunction Func<Vector<Double>, Double>
- A delegate that represents a function of one or more variables.
Return Value
MultidimensionalOptimizerAn MultidimensionalOptimizer object that is set up to find a minimum of objectiveFunction.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Func<Vector<Double>, 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).Remarks
Use this method when you have very little information about the location of the minimum, but you need more control over the solution process. For example, you may want to specify a different RelativeTolerance.