Метод | Описание | |
---|---|---|
ComputeY ( double parameters, double x ) : double |
Compute the value y given x using the curve-fitting function.
|
|
CurveFittingLin ( double x, double y, double minA, double maxA, double minB, double maxB ) : System.Diagnostics |
Create the object.
|
|
GetA ( double parameters ) : double |
Get the A parameter.
|
|
GetB ( double parameters ) : double |
Get the B parameter.
|
|
Gradient ( double parameters, double &v ) : int |
Compute the gradient of the fitness-function.
|
|
SetA ( double ¶meters, double a ) : void |
Set the A parameter.
|
|
SetB ( double ¶meters, double b ) : void |
Set the B parameter.
|
public ComputeY ( double parameters, double x ) : double | ||
parameters | double | Parameters for curve-fitting function. |
x | double | X-axis value. |
Результат | double |
public CurveFittingLin ( double x, double y, double minA, double maxA, double minB, double maxB ) : System.Diagnostics | ||
x | double | X-axis values. |
y | double | Y-axis values, curve to be fitted. |
minA | double | Minimum value for A parameter. |
maxA | double | Maximum value for A parameter. |
minB | double | Minimum value for B parameter. |
maxB | double | Maximum value for B parameter. |
Результат | System.Diagnostics |
public GetA ( double parameters ) : double | ||
parameters | double | |
Результат | double |
public GetB ( double parameters ) : double | ||
parameters | double | |
Результат | double |
public Gradient ( double parameters, double &v ) : int | ||
parameters | double | Candidate solution. |
v | double | Array for holding the gradient. |
Результат | int |
public SetA ( double ¶meters, double a ) : void | ||
parameters | double | |
a | double | |
Результат | void |
public SetB ( double ¶meters, double b ) : void | ||
parameters | double | |
b | double | |
Результат | void |