Base class containing the parameters for the gradient_descent.
More...
|
real(rprec) | step |
| Step size to use.
|
|
real(rprec) | tolarance |
| Minimization tolarance.
|
|
real(rprec), dimension(:), pointer | x_var => null() |
| Variables.
|
|
Base class containing the parameters for the gradient_descent.
◆ chi2()
procedure gradient_descent::gradient_descent_class::chi2 |
( |
class (gradient_descent_class), intent(in) |
this, |
|
|
real (rprec), dimension(:), intent(out) |
chi2 |
|
) |
| |
Compute the χ^2 value and the gradients.
This method should not be called directly and needs to be overloaded in a subclass.
- Parameters
-
[in] | this | A gradient_descent_context instance. |
[out] | chi2 | The χ^2 value and the gradients. |
◆ gradient_descent_destruct()
FINAL gradient_descent::gradient_descent_class::gradient_descent_destruct |
( |
type (gradient_descent_class), intent(inout) |
this | ) |
|
|
final |
◆ minimize()
procedure gradient_descent::gradient_descent_class::minimize |
( |
class (gradient_descent_class), intent(in) |
this | ) |
|
Gradient descent to minimize the χ^2 function.
- Parameters
-
[in,out] | this | A gradient_descent_context instance. |
- Returns
- The χ^2 residule.
The documentation for this type was generated from the following file: