Dew Math for .NET
|
Defines the function to be minimized.
Defines the function to be minimized. The RealFunction must be of the TRealFunction type. Before you write actual function, set the Parameters, Constants and PConstants array size by using the:
Define a function of two variables and one additional constant parameter.
1) Set the VariableParameters, ConstantParameters size and (optionally) initial value:
Note that all values are real.
2) Define the actual function:
Here Pars = VariableParameters.Values and Consts = ConstantParameters.Values.
3) "Connect" the function with TMtxOptimization component:
Please note that the internal algorithm does not check if Parameters, Constants, PConstants array size is the same as VariableParameters.Values, ConstantParameters.Values and SetPointers array size.
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
|
What do you think about this topic? Send feedback!
|