Calc.FindMin Method

Numerically finds the minimum of a function.
Public Shared Function FindMin( _ 
ByVal f As NumericFunctionDelegate, _ 
ByVal userdata As Object, _ 
ByVal tol As Double, _ 
ByVal maxiter As Integer, _ 
ByVal ax As Double, _ 
ByVal cx As Double, _ 
ByRef xmin As Double
) As Double
This language is not supported or no code example is available.
public static double FindMin( 
NumericFunctionDelegate f
object userdata
double tol
int maxiter
double ax
double cx
out double xmin 
)
This language is not supported or no code example is available.
public:  
static double FindMin( 
NumericFunctionDelegate^ f
object^ userdata
double tol
int maxiter
double ax
double cx
double& xmin 
)
This language is not supported or no code example is available.
public static function FindMin( 
f : NumericFunctionDelegate
userdata : object
tol : double
maxiter : int
ax : double
cx : double
xmin : double 
) : double;
This language is not supported or no code example is available.

Parameters

f
NumericFunctionDelegate

The function to search.

userdata
object

Any data sent to the callback.

tol
double

Tolerance of the answer.

maxiter
int

Maximum number of iterations. This can usually be selected large since iteration is terminated when tolerance is reached.

ax
double

The low x of the search area of the function.

cx
double

The high x of the search area of the function.

xmin
double

Set to x at the position of the minimum y of the function.

Return Value

double

The value of the function at min x.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition