nonlin 1.5.2
A library that provides routines to compute the solutions to systems of nonlinear equations.
|
Defines a type capable of encapsulating an equation of one variable of the form: f(x) = 0. More...
Public Member Functions | |
procedure, public | fcn f1h_fcn |
Executes the routine containing the function to evaluate. | |
procedure, public | is_fcn_defined f1h_is_fcn_defined |
Tests if the pointer to the function containing the equation to solve has been assigned. | |
procedure, public | set_fcn f1h_set_fcn |
Establishes a pointer to the routine containing the equations to solve. | |
procedure, public | is_derivative_defined f1h_is_diff_defined |
Tests if the pointer to the function containing the derivative of the function to solve is defined. | |
procedure, public | diff f1h_diff_fcn |
Computes the derivative of the function. If a routine for computing the derivative is not defined, the derivative is estimated via finite differences. | |
procedure, public | set_diff f1h_set_diff |
Static Public Attributes | |
procedure(fcn1var), pointer, nopass | m_diff => null() |
A pointer to a function capable of computing the derivative of m_fcn. | |
Static Private Attributes | |
procedure(fcn1var), pointer, nopass | m_fcn => null() |
A pointer to the target fcn1var routine. | |
Defines a type capable of encapsulating an equation of one variable of the form: f(x) = 0.
Definition at line 682 of file nonlin_core.f90.
procedure, public nonlin_core::fcn1var_helper::diff |
Computes the derivative of the function. If a routine for computing the derivative is not defined, the derivative is estimated via finite differences.
[in] | this | The fcn1var_helper object. |
[in] | x | The value of the independent variable at which the derivative is to be computed. |
[in] | f | An optional input specifying the function value at x . If supplied, and the derivative is being estimated numerically, the function will not be evaluated at x . |
Definition at line 796 of file nonlin_core.f90.
procedure, public nonlin_core::fcn1var_helper::fcn |
Executes the routine containing the function to evaluate.
[in] | this | The fcn1var_helper object. |
[in] | x | The value of the independent variable at which the function should be evaluated. |
x
. Definition at line 700 of file nonlin_core.f90.
procedure, public nonlin_core::fcn1var_helper::is_derivative_defined |
Tests if the pointer to the function containing the derivative of the function to solve is defined.
[in] | this | The fcn1var_helper object. |
Definition at line 782 of file nonlin_core.f90.
procedure, public nonlin_core::fcn1var_helper::is_fcn_defined |
Tests if the pointer to the function containing the equation to solve has been assigned.
[in] | this | The fcn1var_helper object. |
Definition at line 711 of file nonlin_core.f90.
procedure, public nonlin_core::fcn1var_helper::set_diff |
Definition at line 806 of file nonlin_core.f90.
procedure, public nonlin_core::fcn1var_helper::set_fcn |
Establishes a pointer to the routine containing the equations to solve.
[in,out] | this | The fcn1var_helper object. |
[in] | fcn | The function pointer. |
Definition at line 771 of file nonlin_core.f90.
|
static |
A pointer to a function capable of computing the derivative of m_fcn.
Definition at line 687 of file nonlin_core.f90.
|
staticprivate |
A pointer to the target fcn1var routine.
Definition at line 685 of file nonlin_core.f90.