![]() |
Stellarator-Tools
|
Base class containing the parameters for the gradient_descent. More...
Public Member Functions | |
procedure | chi2 (this, chi2) |
Compute the χ^2 value and the gradients. | |
class(gradient_descent_test_class) function, pointer | gradient_descent_test_construct () |
Construct a gradient_descent_test_class. | |
![]() | |
procedure | chi2 (this, chi2) |
Compute the χ^2 value and the gradients. | |
procedure | minimize (this) |
Gradient descent to minimize the χ^2 function. | |
FINAL | gradient_descent_destruct (this) |
Deconstruct a gradient_descent_test_class object. | |
Additional Inherited Members | |
![]() | |
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.
procedure gradient_descent::gradient_descent_test_class::chi2 | ( | class (gradient_descent_test_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.
[in] | this | A gradient_descent_context instance. |
[out] | chi2 | The χ^2 value and the gradients. |
class (gradient_descent_test_class) function, pointer gradient_descent::gradient_descent_test_class::gradient_descent_test_construct |
Construct a gradient_descent_test_class.
Allocates memory and initializes a gradient_descent_test_class object.