TruncatedNewtonComputeMin(OptMultivariateFunction, OptMultivariateGradient, Double) Method |
Computes the minimum point of a function of several variables.
Namespace: DotNumerics.OptimizationAssembly: DWSIM.MathOps.DotNumerics (in DWSIM.MathOps.DotNumerics.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public double[] ComputeMin(
OptMultivariateFunction function,
OptMultivariateGradient gradient,
double[] initialGuess
)
Public Function ComputeMin (
function As OptMultivariateFunction,
gradient As OptMultivariateGradient,
initialGuess As Double()
) As Double()
Request Example
View SourceParameters
- function OptMultivariateFunction
- The function to minimize.
- gradient OptMultivariateGradient
- A delegate that computes the gradient.
- initialGuess Double
- Array of size N containing the initial guess. N is the number of variables.
Return Value
DoubleArray containing the solution.
See Also