ParaMonte Fortran 2.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation. |
Generate and return the spectral peak energy parameter of the Band spectral model/distribution from the corresponding spectral break energy \(\ebreak\) and the Band model spectral indices \((\alpha, \beta)\).
More...
Generate and return the spectral peak energy parameter of the Band spectral model/distribution from the corresponding spectral 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 break energy of the Band distribution is related to the peak energy via the following relation,
\begin{equation} \epeak = \frac{2 + \alpha}{\alpha - \beta} \ebreak \end{equation}
[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 spectral break energy values. |
epeak
: 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 peak energy of the distribution.ebreak
.
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 237 of file pm_distBand.F90.