ParaMonte Fortran 2.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation. |
Generate and return the coefficient of continuity of the Band spectral model/distribution from the Band model parameters: the break energy \(\ebreak\) and the Band model spectral indices \((\alpha, \beta)\).
More...
Generate and return the coefficient of continuity of the Band spectral model/distribution from the Band model parameters: the break energy \(\ebreak\) and the Band model spectral indices \((\alpha, \beta)\).
See the documentation of pm_distBand for more information on the Band distribution.
The coefficient of continuity of the Band model makes the Band distribution continuously differentiable and is defined as,
\begin{equation} \large \zeta = \left(\frac{\ebreak}{\kev}\right)^{\alpha - \beta} \exp\left(\beta - \alpha\right) ~. \end{equation}
This factor is required for computing the density function of the Band distribution.
[in] | alpha | : The input scalar or array of the same shape as other array-like arguments, of the same type and kind as ebreak , containing the first shape parameter of the distribution. |
[in] | beta | : The input scalar or array of the same shape as other array-like arguments, of the same type and kind as ebreak , containing the second shape parameter of the distribution. |
[in] | ebreak | : The input scalar or array of the same shape as other array like arguments of type real of kind any supported by the processor (e.g., RK, RK32, RK64, or RK128), containing the normalized (unitless) spectral break energy values: \(\ebreak = \frac{\ebreak}{\kev}\). |
zeta
: The output scalar or array of the same shape as any input array-like argument, of the same type and kind as the input argument ebreak
, containing the coefficient of continuity of the distribution.
Possible calling interfaces ⛓
0 < ebreak
must hold for the corresponding input arguments.alpha /= -2
must hold for the corresponding input arguments.beta < alpha
must hold for the corresponding input arguments.CHECK_ENABLED=1
.pure
procedure(s) documented herein become impure
when the ParaMonte library is compiled with preprocessor macro CHECK_ENABLED=1
.pure
in release
build and impure
in debug
and testing
builds.elemental
.
Example usage ⛓
ifort
compiler ⛓ ifort
compiler ⛓ gfortran
compiler ⛓
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 492 of file pm_distBand.F90.