메소드 | 설명 | |
---|---|---|
Calculate ( int maxIterations, double maxError, double eps, double tol, ICalculationCriteria network, int n, double x, double ystart, double bs, double direc, double g, double h, double deriv2 ) : double |
Derive the minimum, using a conjugate gradient method.
|
메소드 | 설명 | |
---|---|---|
FindNewDir ( int n, double gam, double g, double h, double grad ) : void |
Find gamma.
|
|
Gamma ( int n, double g, double grad ) : double |
Find correction for next iteration.
|
public Calculate ( int maxIterations, double maxError, double eps, double tol, ICalculationCriteria network, int n, double x, double ystart, double bs, double direc, double g, double h, double deriv2 ) : double | ||
maxIterations | int | The max iterations. |
maxError | double | Stop at this error rate. |
eps | double | The machine's precision. |
tol | double | The convergence tolerance. |
network | ICalculationCriteria | The network to get the error from. |
n | int | The number of variables. |
x | double | The independent variable. |
ystart | double | The start for y. |
bs | double | Work vector, must have n elements. |
direc | double | Work vector, must have n elements. |
g | double | Work vector, must have n elements. |
h | double | Work vector, must have n elements. |
deriv2 | double | Work vector, must have n elements. |
리턴 | double |