Describes a function of one variable.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in) | :: | x |
The independent variable. |
The value of the function at x.
Describes the interface of a solver for an equation of one variable.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(equation_solver_1var), | intent(inout) | :: | this |
The equation_solver_1var object. |
||
| class(fcn1var_helper), | intent(in) | :: | fcn |
The fcn1var_helper object containing the equation to solve. |
||
| real(kind=real64), | intent(inout) | :: | x |
On input the initial guess at the solution. On output the solution. |
||
| type(value_pair), | intent(in) | :: | lim |
A value_pair object defining the search limits. |
||
| real(kind=real64), | intent(out), | optional | :: | f |
An optional parameter used to return the function residual as computed at x. |
|
| type(iteration_behavior), | optional | :: | ib |
An optional output, that if provided, allows the caller to obtain iteration performance information. |
||
| class(errors), | intent(inout), | optional, | target | :: | err |
An error handling object. |
A base class for various solvers of equations of one variable.
| procedure , public :: get_diff_tolerance => es1_get_diff_tol Function | |
| procedure , public :: get_fcn_tolerance => es1_get_fcn_tol Function | |
| procedure , public :: get_max_fcn_evals => es1_get_max_eval Function | |
| procedure , public :: get_print_status => es1_get_print_status Function | |
| procedure , public :: get_var_tolerance => es1_get_var_tol Function | |
| procedure , public :: set_diff_tolerance => es1_set_diff_tol Subroutine | |
| procedure , public :: set_fcn_tolerance => es1_set_fcn_tol Subroutine | |
| procedure , public :: set_max_fcn_evals => es1_set_max_eval Subroutine | |
| procedure , public :: set_print_status => es1_set_print_status Subroutine | |
| procedure , public :: set_var_tolerance => es1_set_var_tol Subroutine | |
| procedure (nonlin_solver_1var) , public , pass :: solve |
Defines a type capable of encapsulating an equation of one variable of the form: f(x) = 0.
| procedure , public :: diff => f1h_diff_fcn Function | |
| procedure , public :: fcn => f1h_fcn Function | |
| procedure , public :: is_derivative_defined => f1h_is_diff_defined Function | |
| procedure , public :: is_fcn_defined => f1h_is_fcn_defined Function | |
| procedure , public :: set_diff => f1h_set_diff Subroutine | |
| procedure , public :: set_fcn => f1h_set_fcn Subroutine |