| PowellMinimizerMinimize(MultiVariableFunction, DoubleVector, DoubleMatrix) Method |
Note: This API is now obsolete.
Minimizes the given function near the given starting point.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax [ObsoleteAttribute("This method is obsolete. Call method Minimize( DoubleFunctional f, DoubleVector p, DoubleMatrix D )")]
public DoubleVector Minimize(
MultiVariableFunction f,
DoubleVector p,
DoubleMatrix D
)
<ObsoleteAttribute("This method is obsolete. Call method Minimize( DoubleFunctional f, DoubleVector p, DoubleMatrix D )")>
Public Function Minimize (
f As MultiVariableFunction,
p As DoubleVector,
D As DoubleMatrix
) As DoubleVector
public:
[ObsoleteAttribute(L"This method is obsolete. Call method Minimize( DoubleFunctional f, DoubleVector p, DoubleMatrix D )")]
DoubleVector^ Minimize(
MultiVariableFunction^ f,
DoubleVector^ p,
DoubleMatrix^ D
)
[<ObsoleteAttribute("This method is obsolete. Call method Minimize( DoubleFunctional f, DoubleVector p, DoubleMatrix D )")>]
member Minimize :
f : MultiVariableFunction *
p : DoubleVector *
D : DoubleMatrix -> DoubleVector
Parameters
- f MultiVariableFunction
- The function to minimize.
- p DoubleVector
- The starting point.
- D DoubleMatrix
- An initial direction set.
Return Value
DoubleVector
The local minimum of
function near the point,
x
using the initial direction set in
D.
Exceptions Exception | Condition |
---|
MismatchedSizeException | The direction set must contain a point
for each dimension. The dimension of the points must match the dimension of the
starting point. |
Remarks
Iteration stops when either the estimated error is less
than the tolerance, or the maximum number of iterations is reached.
Setting the error tolerance to less than zero ensures that the maximum number
of iterations is always reached.
See Also