| PowellMinimizerMinimize(DoubleFunctional, DoubleVector, DoubleMatrix) Method |
Minimizes the given function near the given starting point.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public DoubleVector Minimize(
DoubleFunctional f,
DoubleVector p,
DoubleMatrix D
)
Public Function Minimize (
f As DoubleFunctional,
p As DoubleVector,
D As DoubleMatrix
) As DoubleVector
public:
DoubleVector^ Minimize(
DoubleFunctional^ f,
DoubleVector^ p,
DoubleMatrix^ D
)
member Minimize :
f : DoubleFunctional *
p : DoubleVector *
D : DoubleMatrix -> DoubleVector
Parameters
- f DoubleFunctional
- 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