ParaMonte Fortran 2.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation. |
Generate and return the spectral break energy parameter of the Band spectral model/distribution from the corresponding spectral peak energy \(\epeak\) and the Band model spectral indices \((\alpha, \beta)\).
More...
Generate and return the spectral break energy parameter of the Band spectral model/distribution from the corresponding spectral peak energy \(\epeak\) 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} \ebreak = \frac{\alpha - \beta}{2 + \alpha} \epeak \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 epeak , 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 epeak , containing the second shape parameter of the distribution. |
[in] | epeak | : 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 peak energy values. |
ebreak
: 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 epeak
, containing the break energy of the distribution.epeak
.
Possible calling interfaces ⛓
0 < epeak
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 364 of file pm_distBand.F90.