ParaMonte Fortran 2.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation. |
This is the derived type for generating test function objects of the algebraic form as described below. More...
Public Member Functions | |
procedure | get => getFunc1 |
Public Member Functions inherited from pm_mathRootTest::func_type | |
procedure(get_proc), deferred | get |
Additional Inherited Members | |
Public Attributes inherited from pm_mathRootTest::func_type | |
real(RKH) | lb |
The scalar of type real of the highest kind supported by the processor RKH, containing the lower limit of function. More... | |
real(RKH) | ub |
The scalar of type real of the highest kind supported by the processor RKH, containing the upper limit of function. More... | |
real(RKH), dimension(:), allocatable | root |
The scalar of type real of the highest kind supported by the processor RKH, containing the true roots of function. More... | |
character(:, SK), allocatable | desc |
The scalar allocatable character of default kind SK containing a description of the function and function limits and difficulties. More... | |
This is the derived type for generating test function objects of the algebraic form as described below.
The full function is defined as,
\begin{equation} f(x) = x (x^2 - 1)(x^2 - 4) ~,~ x \in (\ms{lb}, \ms{ub}) \end{equation}
where the function bounds could be infinities.
The real roots of the function are -2, -1, 0, 1, 2
.
[in] | lb | : The input scalar of type real of kind RKH, containing the lower limit of the root search bracket.(optional, default = -3. ) |
[in] | ub | : The input scalar of the same type and kind as lb , containing the upper limit of the root search bracket.(optional, default = +3. ) |
Possible calling interfaces ⛓
Final Remarks ⛓
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.
Definition at line 161 of file pm_mathRootTest.F90.
procedure pm_mathRootTest::func1_type::get |
Definition at line 163 of file pm_mathRootTest.F90.
References pm_kind::RKH.