Computes a maximum of the specified function.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static OptimizationSolutionReport FindMaximum(
Expression<Func<Vector<double>, double>> objectiveFunction,
Vector<double> initialGuess
)
Public Shared Function FindMaximum (
objectiveFunction As Expression(Of Func(Of Vector(Of Double), Double)),
initialGuess As Vector(Of Double)
) As OptimizationSolutionReport
public:
static OptimizationSolutionReport^ FindMaximum(
Expression<Func<Vector<double>^, double>^>^ objectiveFunction,
Vector<double>^ initialGuess
)
static member FindMaximum :
objectiveFunction : Expression<Func<Vector<float>, float>> *
initialGuess : Vector<float> -> OptimizationSolutionReport
Parameters
- objectiveFunction
- Type: System.Linq.ExpressionsExpressionFuncVectorDouble, Double
A lambda expression that represents a multivariate function that evaluates the objective function. - initialGuess
- Type: Extreme.MathematicsVectorDouble
The starting point for the iteration.
Return Value
Type:
OptimizationSolutionReportA local maximum of
objectiveFunction.
Reference